Replies: 1 comment
-
My problem is similar to yours, I my code also fails in the callback, but my error is Procedure not found. I too have not been able to find anything to help locate the issue. Additionally, the EmbeddedBrowserWebView.dll.pdb cannot be found. I tried using the additional options to find the symbols but could not locate this information. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I need to use the WebView2 control from a custom credential provider, written in C++. I'm using MSFT's Win32_GettingStarted sample as a test. I can build it in VS 2022 and it runs fine in a regular user desktop.
But if I use the same code from a custom credential provider (that runs in a secure desktop in the login screen) the WebView2 control remains blank. I did some investigation was able to see that in the following code snippet:
The
env->CreateCoreWebView2Controller
call succeeds, but theICoreWebView2CreateCoreWebView2ControllerCompletedHandler
callback is never invoked (or my"Loaded_MsgBox"
is never shown), so the HWND for the WebView2 remains blank.There seems to be no errors or anything that I can find.
Moreover, when I close the process, this also causes a crash somewhere in the destructor in the
EmbeddedBrowserWebView.dll
.The WebView2 itself is so huge, I don't even know where to begin approaching this.
Any idea how to make it work from the secure desktop?
Beta Was this translation helpful? Give feedback.
All reactions