process id in windows CEF

Having problems with building or using CEF's C/C++ APIs? This forum is here to help. Please do not post bug reports or feature requests here.

process id in windows CEF

Postby dcaputi » Fri Apr 18, 2014 12:13 pm

I'm using an unhandled exception filter and I need to know which process is crashing in my handler code.
Is there an easy way to tell if the current process is CEF and if it's the renderer or browser PID?
Dan C.
dcaputi
Techie
 
Posts: 20
Joined: Thu Nov 21, 2013 9:38 am

Re: process id in windows CEF

Postby Czarek » Fri Apr 18, 2014 1:04 pm

For renderer process crashes see CefLoadHandler::OnRenderProcessTerminated.

Browser process is usually the main process, unless you spawn more on your own.
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

Re: process id in windows CEF

Postby dcaputi » Fri Apr 18, 2014 3:16 pm

Czarek wrote: Browser process is usually the main process

So how do I tell if it's the main process? CefCurrentlyOn(TID_UI) didn't seem to work in the unhandled exception filter.
Dan C.
dcaputi
Techie
 
Posts: 20
Joined: Thu Nov 21, 2013 9:38 am


Return to Support Forum

Who is online

Users browsing this forum: No registered users and 32 guests