I'm running WebView2 in my Delphi 11.1 application.
On my dev machine (Win 11), it works normally. It works on test PC1(Win 10), but when I try running it on the other PC (also Win 10) it doesn't load the page.
All PCs have Microsoft Edge WebView2 Runtime (ver. 99.0.1150.39)
Is there any list of DLLs needed, or can someone provide one.
Not every Windows installation comes pre-loaded with the WebView2Loader.dll
required for WebView2 Runtime
. You will need to distribute the file with your application. The WebView2 Runtime
must be included in the main project directory distributed with the source code.
There are two different ways to distribute WebView2 Runtime
with your application.
Fixed Version - Package a fixed version of WebView2Loader.dll
to be distributed with your application. Download here.
Evergreen - Package the Evergreen Bootstraper
to automatically update the required binaries, or package the Evergreen Standalone Installer
to be invoked with the installer/updater for offline use-cases. Download here.
The quickest solution would be to add a fixed version of WebView2Loader.dll
to the Delphi project directory.
A more detailed description by Microsoft is available for reference to better understand distributing applications with WebView2 Runtime
.