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
Can I create a webview2 application by C++ without creating webview2 subprocess like this ? I see Office 365 apps like Word, Excel,... using Webview2 but I don't see they have any webview2 subprocess
The text was updated successfully, but these errors were encountered:
Hi @zeltrax00 - WebView2 follows the Chromium process model, which consists of a browser process, some utility processes, and some renderer processes. There's a good overview of why that's the case here. There is a command-line option that will use a single process --single-process that might work, but is entirely unsupported for WebView2, and only exists in Chromium for development purposes and shouldn't be used in production scenarios. There's no way to host WebView2 in-proc like previous Windows WebView components.
If you're seeing Office applications using WebView2 without msedgewebview2.exe child processes, you might be hitting a Task Manager bug in some versions of Windows 10 where child processes might not get parented properly. SysInternals Process Explorer should show correct parenting 100% of the time, and the latest Win10 and Win11 versions have the bug I mentioned fixed.
Can I ask why you're interested in not creating the sub-processes?
Can I create a webview2 application by C++ without creating webview2 subprocess like this ? I see Office 365 apps like Word, Excel,... using Webview2 but I don't see they have any webview2 subprocess

The text was updated successfully, but these errors were encountered: