Delphi 10.4 CE, Win 7/10
TEdgeBrowser
works fine if I add it to a fresh project.
However, when I add it to a small (1 form) existing project, TEdgeBrowser.Navigate
fails to load and does not raise an error.
Checking TEdgeBrowser.LastErrorCode
gives an unknown error of -2147467259.
Have tried setting the TEdgeBrowser.UserDataFolder
as well as Form.ActiveControl
.
Solved. Missing WebView2Loader.dll in exe directory. Props to SilverWarior.