I learn to use the framework and get in trouble that I want to open the "_blank" link by the default Browser. But get the urlStr is NULL. Problem described :
bool ClientHandler::OnBeforePopup(CefRefPtr<CefBrowser> parentBrowser,
const CefPopupFeatures& popupFeatures,
CefWindowInfo& windowInfo,
const CefString& url,
CefRefPtr<CefClient>& client,
CefBrowserSettings& settings) {
REQUIRE_UI_THREAD();
std::wstring urlStr = url;
ShellExecute(NULL, _T("open"), urlStr.c_str(), NULL, NULL, SW_SHOW);
return true;
}
Much appreciate for your help!