Let's try and get #159 working. I had to comment out this part (which was also highly non-functional...) earlier because it caused stability problems, since CEF starts up more than 1 child process sometimes (which caused problems). I think we might have to distinguish between different process types here, which is why we start fiddling around with the arguments. Perhaps there are other, better ways to detect the current process type though.

This commit is contained in:
Per Lundberg
2013-10-27 13:22:09 +02:00
parent 0db35592fe
commit 241d93d129
2 changed files with 7 additions and 6 deletions
+4 -2
View File
@@ -8,6 +8,8 @@
int APIENTRY wWinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPTSTR lpCmdLine, int nCmdShow)
{
//CreateJavascriptProxyServiceHost();
return ExecuteCefRenderProcess(hInstance);
CefMainArgs main_args(hInstance);
CreateJavascriptProxyServiceHost();
return ExecuteCefRenderProcess(main_args);
}