Page 1 of 1

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

PostPosted: Sat Nov 27, 2021 10:52 am
by jcij
CeF3 is embedded in MFC multi document application, and three multi document main programs are started at one time.

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

PostPosted: Sat Nov 27, 2021 10:56 am
by jcij
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.

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

PostPosted: Sat Nov 27, 2021 11:47 am
by magreenblatt
Read the documentation. With MCF you likely want a separate sub-process executable. https://bitbucket.org/chromiumembedded/ ... t-function

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

PostPosted: Mon Nov 29, 2021 1:19 am
by jcij
Thank you for reply. My MFC project has adopted the Separate Sub-Process Executable method, but this problem still exists.

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

PostPosted: Mon Nov 29, 2021 2:06 am
by jcij
This is the problem caused by browser_subprocess_path ,browser_subprocess_path should be a fully qualified path and I set the relative path.