Friday, May 31, 2013

Checking VC runtime of EXE, DLL, LIB

Open VisualStudio command prompt

dumpbin /all  EXE|DLL|LIB > tmp.txt

Open tmp.txt and search for "MSVCRT", examples:

   Linker Directives
   -----------------
   /include:__forceCRTManifestCUR
   /manifestdependency:type='win32' name='Microsoft.VC90.CRT' version='9.0.30729.6161' processorArchitecture='x86' publicKeyToken='1fc8b3b9a1e18e3b'
   /DEFAULTLIB:msvcprt
   /manifestdependency:type='win32' name='Microsoft.VC90.CRT' version='9.0.30729.6161' processorArchitecture='x86' publicKeyToken='1fc8b3b9a1e18e3b'
   /DEFAULTLIB:MSVCRT
   /DEFAULTLIB:OLDNAMES