SOLVED

Webview2 does not work anymore.

%3CLINGO-SUB%20id%3D%22lingo-sub-1295438%22%20slang%3D%22en-US%22%3EWebview2%20does%20not%20work%20anymore.%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1295438%22%20slang%3D%22en-US%22%3E%3CP%3EWebview2%20does%20not%20work%20anymore.%20Probably%20because%20there%20is%20a%20new%20major%20version%20and%20the%20SDK%20has%20not%20been%20updated.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ETo%20reproduce%2C%20clone%3A%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fgithub.com%2FMicrosoftEdge%2FWebView2Browser%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fgithub.com%2FMicrosoftEdge%2FWebView2Browser%3C%2FA%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ERun%20it.%20Screen%20will%20stay%20blank%2C%20and%20the%20application%20will%20fail%20to%20initialize%20the%20environment.%20Error%20message%3A%3C%2FP%3E%3CP%3EC%3A%5Csource%5Cgit%5CWebView2Browser%5CBrowserWindow.cpp(193)%5CWebView2Browser.exe!00007FF62A71A44E%3A%20(caller%3A%2000007FF62A729A0A)%20ReturnHr(1)%20tid(40020)%2080004002%20No%20such%20interface%20supported%3CBR%20%2F%3E%5BBrowserWindow%3A%3AInitInstance%3A%3A%3CLAMBDA_C6394ABC9BCC57C2DB89E178DE36945C%3E%3A%3Aoperator%20()(result)%5D%3C%2FLAMBDA_C6394ABC9BCC57C2DB89E178DE36945C%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1296545%22%20slang%3D%22en-US%22%3ERe%3A%20Webview2%20does%20not%20work%20anymore.%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1296545%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F354140%22%20target%3D%22_blank%22%3E%40jspuij%3C%2FA%3E%26nbsp%3B%2C%20thanks%20for%20reporting%20the%20issue.%20This%20looks%20like%20a%20known%20bug%20that%20has%20already%20been%20fixed%20in%20Edge%20canary%20build%26nbsp%3B84.0.480.0.%20Please%20try%20using%26nbsp%3B84.0.480.0%20or%20later%20build%20and%20see%20whether%20it%20fix%20the%20issue.%20Let%20us%20know%20how%20it%20works.%20Thanks!%3C%2FP%3E%3C%2FLINGO-BODY%3E
Highlighted
Visitor

Webview2 does not work anymore. Probably because there is a new major version and the SDK has not been updated.

 

To reproduce, clone:

 

https://github.com/MicrosoftEdge/WebView2Browser

 

Run it. Screen will stay blank, and the application will fail to initialize the environment. Error message:

C:\source\git\WebView2Browser\BrowserWindow.cpp(193)\WebView2Browser.exe!00007FF62A71A44E: (caller: 00007FF62A729A0A) ReturnHr(1) tid(40020) 80004002 No such interface supported
[BrowserWindow::InitInstance::<lambda_c6394abc9bcc57c2db89e178de36945c>::operator ()(result)]

 

 

1 Reply
Highlighted
Best Response confirmed by johnjansen (Microsoft)
Solution

@jspuij , thanks for reporting the issue. This looks like a known bug that has already been fixed in Edge canary build 84.0.480.0. Please try using 84.0.480.0 or later build and see whether it fix the issue. Let us know how it works. Thanks!