How to link a msvcr120.dll in an inverse recursive way after a Windows .exe binary deployment

Mike Parker aldacron at gmail.com
Tue Sep 6 04:59:49 UTC 2022


On Tuesday, 6 September 2022 at 04:36:55 UTC, ShadoLight wrote:

>
> True. In that case just distribute the DLL (taken from the DMD 
> bin folder) alongside the HelloWorld EXE so that both reside in 
> the same folder on the target computer.

The proper way to do this is to ship the correct version of the 
Visual C++ redistributable installer and run it as part of the 
application install process:

https://docs.microsoft.com/en-us/cpp/windows/latest-supported-vc-redist?view=msvc-170


More information about the Digitalmars-d-learn mailing list