
Folder structure
.\msvcr120.dll
.\folder1\HelloWorld.exe
.\folder2\HelloWorld.exe
Basic binaries produced by DMD.exe compiler require Microsoft Compiler Runtime DLL
As you might know that a basic D Language example HelloWorld.exe requires msvcr120.dll to work.
Linking inverse recursively?
To not include msvcr120.dll into every .exe executable's .\folder\ and to not marginally increase the overall size of the project: I'd like to link every .\folder\.exe binary to the .\msvcr120.dll dynamic library.
Notice
Launching the .exe binary with external script to change the path variable is not a solution.
I'd like the .exe binary to "know" and try to search for .\msvcr120.dll by itself after clicking it to launch.
Permalink
Reply