TTMSFNCMaps Failing on VCL but Working on FMX on Windows Server 2012

Hi

I'm using TTMSFNCMaps. For testing purposes, I created two identical projects; one with FMX and one VCL. Both projects just have the TTMSFNCMaps component. The operating system I'm testing both projects on is WIndows Server 2012.The FMX project is working fine. However, when I run the VCL project, I'm getting the following exception:

Could not initialize Edge Chromium! Please check if
WebViewLoader_x86.dll is correctly distributed and accessible.

Please, advise

Hi,

Can you please make sure to follow instructions to distribute the required DLL files as indicated here?

Hi

Yes. I've followed the instructions to distribute the required DLL files. Besides, that's the reason the FMX version is working fine (on the same server). It's ONLY the VCL version that has the problem.

Digging furthermore, the FMX version that I had earlier was compiled more than a year ago. Now that I recompiled it, I'm getting the same error as the VCL version (which was compiled recently). The TMS FNC Maps I'm currently using is 4.1.1.7.

It looks like Edge Chromium is no longer supported on Windows Server 2012 as indicated on here:

Have you tried to deploy the project on a different machine that is running on an OS that is still supported?

Hi

On newer Windows, the project is running fine. It's on the windows server 2012 that we have a problem. The client doesn't have any plans to change it soon.

Microsoft Edge IS installed on the server, and like I said above, the project was running fine on the server with older versions of FNC Maps.

Please, advise

Are you sure you copied the DLLs from the new FNC installation? Can you put them next to the executable? I've attached the DLLs here.

DLLs.zip (141.2 KB)

Yes. I've done that. I've tried with multiple versions of the DLL, including yours.

Unfortunately in the link my colleague posted Microsoft mentions:

  • 01/12/2023 Microsoft Edge support for Windows 7, Windows 8, Windows 8.1, Windows Server 2008 R2, Windows Server 2012, and Windows Server 2012 R2 ended in Edge version 109.

Meanwhile the actual version is 126.0.2592.102

What you could do, is add support for a fixed version.

Here you can download this version, although it is not commonly available

or maybe here

https://www.catalog.update.microsoft.com/Search.aspx?q=runtime%20edge%20109.0.1518.140