문제

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.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top