You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Maybe just mention the using namespace before Step 3.
using namespace Microsoft::WRL;
Otherwise there's an undefined Callback error since the example code isn't namespaced...
// Step 3 - Create a single WebView within the parent window
// Locate the browser and set up the environment for WebView
CreateWebView2EnvironmentWithDetails(nullptr, nullptr, nullptr,
Callback<IWebView2CreateWebView2EnvironmentCompletedHandler>(
[hWnd](HRESULT result, IWebView2Environment* env) -> HRESULT {
The text was updated successfully, but these errors were encountered:
Uh oh!
There was an error while loading. Please reload this page.
Maybe just mention the using namespace before Step 3.
Otherwise there's an undefined Callback error since the example code isn't namespaced...
The text was updated successfully, but these errors were encountered: