by barnold » Thu Aug 13, 2015 4:24 pm
We recently downloaded a version that has a directory "cef_binary_3.2171.1979_windows32". Does that indicate the version? I don't believe I am using a separate sub-process executable since I am not executing with any arguments. Here is the code where the problem occurs. I see one child process starting up in but then it seems to abort.
BOOL CCerApp::InitInstance()
{
// // initialize CEF.
m_cefApp = new ClientApp(); //new with Fa memory hook
// get arguments
CefMainArgs main_args(GetModuleHandle(NULL));
//Execute the secondary process, if any.
int exit_code = CefExecuteProcess(main_args, m_cefApp.get(), NULL);
if (exit_code >= 0)
return exit_code;
// setup settings
CString szCEFCache;
CString szPath;
INT nLen = GetTempPath( 0, NULL ) + 1;
GetTempPath( nLen, szPath.GetBuffer( nLen ));
// save path
szCEFCache.Format( _T("%scache\0\0"), szPath );
CefSettings settings;
//settings.no_sandbox = TRUE;
//settings.multi_threaded_message_loop = FALSE;
CefString(&settings.log_file) = _T("C:\\tfs\\cefDebug.log");
CefString(&settings.cache_path) = szCEFCache;
void* sandbox_info = NULL;
#if CEF_ENABLE_SANDBOX
// Manage the life span of the sandbox information object. This is necessary
// for sandbox support on Windows. See cef_sandbox_win.h for complete details.
CefScopedSandboxInfo scoped_sandbox;
sandbox_info = scoped_sandbox.sandbox_info();
#endif
//CEF Initiaized
m_bCEFInitialized = CefInitialize(main_args, settings, m_cefApp.get(), sandbox_info);
...