MFC embedded in CEF3 where is started three times at a time

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.

MFC embedded in CEF3 where is started three times at a time

Postby jcij » Sat Nov 27, 2021 10:52 am

CeF3 is embedded in MFC multi document application, and three multi document main programs are started at one time.
jcij
Newbie
 
Posts: 8
Joined: Tue Oct 12, 2021 3:39 am

Re: MFC embedded in CEF3 where is started three times at a t

Postby jcij » Sat Nov 27, 2021 10:56 am

The problem began with 4103 (83.0.4103.106), which did not occur in previous versions. At the same time, I also tried to use cef1, as long as you don't use cefex cuteprocess, that is, you don't use main_ Args, you can succeed with cefbrowser's createbrowser, and three applications will not be started.
jcij
Newbie
 
Posts: 8
Joined: Tue Oct 12, 2021 3:39 am

Re: MFC embedded in CEF3 where is started three times at a t

Postby magreenblatt » Sat Nov 27, 2021 11:47 am

Read the documentation. With MCF you likely want a separate sub-process executable. https://bitbucket.org/chromiumembedded/ ... t-function
magreenblatt
Site Admin
 
Posts: 12382
Joined: Fri May 29, 2009 6:57 pm

Re: MFC embedded in CEF3 where is started three times at a t

Postby jcij » Mon Nov 29, 2021 1:19 am

Thank you for reply. My MFC project has adopted the Separate Sub-Process Executable method, but this problem still exists.
jcij
Newbie
 
Posts: 8
Joined: Tue Oct 12, 2021 3:39 am

Re: MFC embedded in CEF3 where is started three times at a t

Postby jcij » Mon Nov 29, 2021 2:06 am

This is the problem caused by browser_subprocess_path ,browser_subprocess_path should be a fully qualified path and I set the relative path.
jcij
Newbie
 
Posts: 8
Joined: Tue Oct 12, 2021 3:39 am


Return to Support Forum

Who is online

Users browsing this forum: Google [Bot] and 34 guests