Why my app require MSVCR120.dll?
Cauterite via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Fri Nov 6 10:34:43 PST 2015
On Friday, 6 November 2015 at 13:16:46 UTC, Suliman wrote:
> On Windows 7 it's work fine. On Windows 10 (clean install) it's
> do not start and require MSVCR120.dll
D doesn't make particularly heavy use of the C runtime, so
there's a good chance you can link against a different C runtime
DLL — preferably one that's always available by default like
msvcrt.dll.
However I'd start by determining why it works fine on 7 and not
on 10. It could be that MSVCR120.dll is in your library search
path on your Win7 system for some reason, or perhaps the compiler
is somehow choosing to link against a different runtime when
compiling on Windows 7.
If you don't already have tools to inspect this stuff, PeStudio (
https://www.winitor.com/ ) will be helpful — it can tell you all
the load-time dynamic linkage for a given executable (among other
things).
More information about the Digitalmars-d-learn
mailing list