I followed the instructions in the guide for the Win32_GettingStarted project here, but the window opens with a blank white content area. On further investigation, it seems CreateCoreWebView2EnvironmentWithOptions is silently failing. Setting a breakpoint within the callback never gets hit, and within the WndProc, webviewController remains null.
Are there any obvious things I should check that spring to mind which could be causing this for me, or at least a way to access an error code I can look into?
I followed the instructions in the guide for the
Win32_GettingStarted
project here, but the window opens with a blank white content area. On further investigation, it seemsCreateCoreWebView2EnvironmentWithOptions
is silently failing. Setting a breakpoint within the callback never gets hit, and within the WndProc,webviewController
remainsnull
.Are there any obvious things I should check that spring to mind which could be causing this for me, or at least a way to access an error code I can look into?
Running Windows 10, with Visual Studio 2019.
WIL: 1.0.220201.1 WebView2: 1.0.1150.38