GetRenderProcessHandler is not called

Having problems with building or using the CefGlue .NET/Mono binding? Ask your questions here.

Moderator: fddima

GetRenderProcessHandler is not called

Postby ghostek » Tue Aug 28, 2018 10:30 am

Hello,
I'm using latest version of cefglue from gitlab. I'm testing official winforms and wpf samples. In both of this samples GetRenderProcessHandler is never called.
I checked many times and CefRuntime.ExecuteProcess(mainArgs, cefApp) is called. Now I have problem because I need to inject function and call it from js (js -> c# communitaction) but I can't because I need render process. Or I'm wrong?
Can you help me with this?
ghostek
Newbie
 
Posts: 1
Joined: Tue Aug 28, 2018 10:24 am

Re: GetRenderProcessHandler is not called

Postby Czarek » Thu Aug 30, 2018 9:36 pm

CefApp needs to be passed to both CefInitialize and CefExecuteProcess. On Windows you usually don't see output from Renderer process (it's a subprocess).
Maintainer of the CEF Python, PHP Desktop and CEF C API projects. My LinkedIn.
User avatar
Czarek
Virtuoso
 
Posts: 1927
Joined: Sun Nov 06, 2011 2:12 am


Return to CefGlue Forum

Who is online

Users browsing this forum: No registered users and 17 guests