I am testing CEF3 in MFC.
I downloaded CEF-MFC source code and compiled and ran OK with VS 2010.
But when I give a parameter which my original program required to this CEF-MFC test program, CefExecuteProcess doesn't return and this program is blocked there.
The parameter I used is this : --TestMode◆--StartFileNamezero37
What do I have to do to use the parameter ???
----------------------------------------
// initialize CEF.
m_cefApp = new ClientApp();
// get arguments
CefMainArgs main_args(GetModuleHandle(NULL));
CefSettings settings;
//settings.no_sandbox = TRUE;
//settings.multi_threaded_message_loop = FALSE;
settings.command_line_args_disabled = true;
// Execute the secondary process, if any.
int exit_code = CefExecuteProcess(main_args, m_cefApp.get(), NULL); // HERE
if (exit_code >= 0)
return exit_code;
// setup settings
CString szCEFCache;
CString szPath;
INT nLen = GetTempPath( 0, NULL ) + 1;
GetTempPath( nLen, szPath.GetBuffer( nLen ));