The CFF Explorer is able to detect the VC complier version from PE file. it shows "Microsoft Visual C++ 8" for my exe file which is statically linked to libCMT(no dll dependency).
How is that done? It must replies on some structure in PE file which is unknown to me.
UPDATE:
- CFF Explorer can get the correct VC complier version for a statically linked PE file (no DLL dependency to msvcmXX.dll, msvcpXX.dll or msvcrXX.dll)
- Even I cleared the LinkerVersion / ImageVersion / SubsytstemVersion / OperratingSystemVersion fields in PE optional header to ZERO, CFF explorer still can know the correct VC compiler version.
Seems CFF explorer is using a much reliable way to detect VC compiler version.