Steps to enable Edge Chromium support


  1. Installation

    • Edge Browser

      1. Windows 10 with automatic updates enabled has already Edge Chromium included that is used by TAdvWebBrowser. If you do not have automatic updates enabled or use an older version of Windows, install Edge Chromium from the following page: https://www.microsoft.com/en-us/edge

        We have tested the installation against v85.0.534.0. Earlier versions are not supported. Newer version updates need to be tested first, as each update might potentially break your application. Please before installing, check the version number and ask us for an update in case you are having troubles getting the browser to run. Microsoft will also push out Edge Chromium through Windows Updates.

      2. Make sure the WebView2Loader_x86.dll and WebView2Loader_x64.dll are copied under System32 and SysWow64 folders. The dlls can be found after installation in the source directory under the folder "Edge Support". Please note that these dlls are also necessary when deploying your application!

    • Edge WebView 2

      Alternatively, when distributing your application, there are a few ways you can ensure the WebView2 Runtime is on client machines. More information can be found on the following page: https://developer.microsoft.com/en-us/microsoft-edge/webview2/
  2. TTMSFNCWebBrowser

    Start the IDE and drop an instance of TTMSFNCWebBrowser on the form. The border around the webbrowser at designtime is for moving/selecting it. The blue box indicating that Edge Chromium is initialized, is interactable and is actually a live browser instance. You should see the following when the browser is successfully initialized: