Hi,
Given this code in the OnInitDialog of the browser's parent window:
CefBrowser::CreateBrowser(info, false, static_cast<CefRefPtr<CefHandler>>(m_handler), L"");
m_handler->GetBrowser()->GetMainFrame( )->LoadURL(L"http://www.somewhere.com");
This fails because GetBrowser() returns NULL. Surprised me. How can I synchronize on the actual completion of the browser creation.
MFC / Win32 / Vista / CEF configured to use the app's message pump.
Thanks for any insights.
Stéphane Perras