How to Determine Required Visual C++ Redistributables for a Given DLL

If you have been provided a dll, and are unsure which Visual C++ Redistributables are required, the following are some methods to determine this:

  1. Ask the DLL provider

  2. Use the Depends Dependency Walker utility (see instructions below)

  3. Send the DLL to the MHI support desk (support@mhi.ca), to see if we can determine this. Ensure to provide your PSCAD license number in your request (may be determined as per this article).

Using the Depends Dependency Walker utility

  • Launch ..\Depends_32\depends.exe

  • Select View | Full paths so that Full paths is enabled (checked)

  • Drag the DLL into the Dependency Walker application, and it will look something like this:

  • Look for files similar to format: MFCxxx.dll, VCRUNTIMExxx.dll, then use our compatibilities chart to determine the version.

For example, in the above screenshot, the following versions have been determined:
c:\windows\system\32\MFC140U.DLL
c:\windows\system\32\VCRUNTIME140.DLL

  • According to Chart 1.d of this manual, version “140” corresponds to Visual C++ 2015 Redistributables:

Back