I have a project that was utilizing the WebView4Delphi. It was still running last week and suddenly today, it gave me an error message: 'Unsupported WebView2Loader.dll version'
I would like to know what causes this issue so I can anticipate it ahead? I was sure I was able to compile it days prior but to today the error just pop. I would appreciate also if you have any suggestions to fix this? Uninstall old version and install a new one?
Many thanks in advance!
Disclosure Statement: This site contains affiliate links, which means that I may receive a commission if you make a purchase using these links. As an eBay Partner, I earn from qualifying purchases.
Unsupported WebView2Loader.dll
- salvadordf
- Posts: 4620
- Joined: Thu Feb 02, 2017 12:24 pm
- Location: Spain
- Contact:
Re: Unsupported WebView2Loader.dll
Hi,
GlobalWebView2Loader checks the WebView2Loader.dll file version before loading it and initializing WebView2.
WebView2Loader.dll should have a version equal or greater than 1.0.1462.37
The right WebView2Loader.dll file is available in the WebView4Delphi\bin32 and WebView4Delphi\bin64 directories.
Check that the WebView2Loader.dll file is in the same directory as your application and its version is 1.0.1462.37
Perhaps the antivirus deleted the WebView2Loader.dll file.
You can also enable the experimental internal loader if you want to avoid distributing WebView2Loader.dll with your application. Add this line before the GlobalWebView2Loader.StartWebView2 call :
GlobalWebView2Loader checks the WebView2Loader.dll file version before loading it and initializing WebView2.
WebView2Loader.dll should have a version equal or greater than 1.0.1462.37
The right WebView2Loader.dll file is available in the WebView4Delphi\bin32 and WebView4Delphi\bin64 directories.
Check that the WebView2Loader.dll file is in the same directory as your application and its version is 1.0.1462.37
Perhaps the antivirus deleted the WebView2Loader.dll file.
You can also enable the experimental internal loader if you want to avoid distributing WebView2Loader.dll with your application. Add this line before the GlobalWebView2Loader.StartWebView2 call :
Code: Select all
GlobalWebView2Loader.UseInternalLoader := True;
Re: Unsupported WebView2Loader.dll
I figure it out.. my bad. Thank you for the response. I actually forgot to place the dll in the folder 
