We run our application in a hosted environment vis Citrix. After installing Edge 103 (Edge was not installed previously) we can't get FNC Maps to work. I've tested with local workstations and maps works fine. What does GetAvailableCoreWebView2BrowserVersionString need to work properly? Would there be any special permissions or group policy settings necessary?
Here is the sample code I found elsewhere on the support forum to get the version.
lVersion: PWideChar;
begin
lFileName := ExtractFilePath(aFileName) + 'WebView2Loader_x86.dll';
lEdgeHandle := Winapi.Windows.LoadLibrary(PChar(lFileName));
if (lEdgeHandle <> 0) then
begin
GetAvailableCoreWebView2BrowserVersionString := GetProcAddress(lEdgeHandle, 'GetAvailableCoreWebView2BrowserVersionString');
lVersion := '';
if Assigned(GetAvailableCoreWebView2BrowserVersionString) then
GetAvailableCoreWebView2BrowserVersionString(nil, @lVersion);
end
Here is some server info in case it helps
Microsoft Edge | 103.0.1264.37 (Official build) (64-bit) |
---|---|
Revision | e3a6d3b5b3c3fc0540649e828d8cef033ae236ce |
Operating system | Windows Server OS Version 1607 (Build 14393.4283) |
JavaScript | V8 10.3.6.7 |
User agent | Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/103.0.5060.53 Safari/537.36 Edg/103.0.1264.37 |
Executable path | C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe |