int CefAppWrapper::Run() { auto hInstance = Process::GetCurrentProcess()->Handle; CefMainArgs cefMainArgs((HINSTANCE)hInstance.ToPointer()); return CefExecuteProcess(cefMainArgs, (CefApp*)_cefApp.get(), NULL); }
int RunCefSubprocess(int & argc, char ** argv) { CefMainArgs cefMainArgs(GetModuleHandle(nullptr)); return CefExecuteProcess(cefMainArgs, nullptr, nullptr); }