I have got an old C++ MFC app upgraded to use the WebView2 web browser control, based on Edge. Otherwise I have got it working fine, one of the remaining issues is opening the Find dialog in it via the main MFC app Edit-Find menu item or via Ctrl+F (which is also intercepted by MFC ..
It seams that in the current WebView2 that is online published by Microsoft is a bug. Symptoms: We get a crash when the WebView2 window is closed. In fact when ICoreWebView2Controller::Close is called. We rolled out the program in February. We don’t ship any additional runtime, we just include the WebView2Loader.dll into our setup. The ..
This seems like a very stupid (basic) question. I am writing a C++ graphical (Windows) application that uses the new WebView2 control. The samples provided by Microsoft are quite nice. But I am having trouble with things that aren’t shown in the samples. But after two days of googling and searching other ways, I can’t ..
I’m trying handle key press event from my webview2 inside a Qt widget since the WebView2 control is based on the Component Object Model (COM). I’m trying to use ICoreWebView2Controller as IUnknown to wrap this inside a QAxObject or QAxWidget to get access to the COM object and fetch the webview event from my main ..
A new problem blows my mind lately: a very simple code using the WebView2 library from Microsoft works if compiled as C++ but not as C. What could be causing the problem? I tried all sorts of fixes, like using an older version of the WebView2 library, using Edge Canary or beta or a different ..
I’m trying to create a web view component in a Win32 app using the Microsoft Edge WebView2 component. If I use the Microsoft Edge WebView2 Runtime version 88.0.705.53, all works fine. However, if I don’t have this installed but rely on the Microsoft Edge browser itself, same version 88.0.705.53 being installed, then the creation the ..
How can I set a cookie which would be applicable for just a specific tab in the browser ? Chrome keeps cookies separated for normal mode and incognito mode. What i’m trying to achieve is similar to this but i want to do that for every tab in normal mode. Source: Windows Que..
I found this thread on GitHub, but seems that the code is not C++: WebView2 _webView2 = new WebView2(); CoreWebView2EnvironmentOptions options = new CoreWebView2EnvironmentOptions(); // Set a proxy pac for the browser // options.AdditionalBrowserArguments = "–proxy-pac-url=http://myproxy.com/my.pac"; // Set the proxy for the browser options.AdditionalBrowserArguments = "–proxy-server="foopy:99""; // Create the environment manually CoreWebView2Environment env = await ..