layout: post title: How to find the vc runtime version from an exe date: 2024-10-02 00:00:00 description: tags: programming cpp debug categories: programming cpp —

Using Dumpbin

Microsoft provided a build tool called dumpbin to display information from exe.

Step 1: Open the Developer Command Prompt for VS 20XX

Step 2: Run the following command

dumpbin /dependents <exe file>

Step 3: Looking for the MSVCPxxx.dll or VCRUNTIMExxx.dll. The xxx is the version number of the vc runtime.

Python script to check the vc runtime version in entire folder

https://github.com/kcwongjoe/msvc_inspect

References

Dumpbin