How to know the version of Microsoft's C runtime in use?
문제
I have a program which depends on MSVCR90.dll
, library which I'm shipping with it alongside the main executable among other things:
ProgramFolder\Main.exe
ProgramFolder\MSVCR90.dll
I wanted to know if when a new update to it is available (fixing a security issue for example) the one I supply would take precedence over the updated file in System32
or SxS
.
Is there a way to programatically know which version of the C runtime is being used?
해결책
You can check the executables import header to find which version of C runtime it has got references to. Removing it from system32 directory wont help, instead it will create a crash.
제휴하지 않습니다 StackOverflow