- The VCRedist.exe file that is installed is for a different version of Visual C++.
- The VCRedist.exe file did not install the debug build of Visual C++ DLLs on the computer.
Method 1: Install the Dependency Walker toolThe Dependency Walker tool is part of the Windows Support Tools. The Support Tools are not installed with the Windows operating system. Instead, you must install them separately from the \Support\Tools folder of the Windows operating system CD. To install Windows Support Tools, see the "Install Windows Support Tools" section of the following Microsoft Web site:
Method 2: Determine which DLLs the application depends onTo determine which DLLs the application depends on, use the Dependency Walker tool to scan the Visual C++ application. To do this, follow these steps:
- In Windows Explorer, locate the application and any DLLs that the application requires.
- Right-click the application, and then click View Dependencies.
Method 3: Copy dependent DLL filesIf an older version of the debug version of the CRT is installed, or if the files are not present on the computer, you must provide copies of the debug version of the CRT that was used to build the Visual C++ application. To do this, follow these steps:
- On the development computer, locate the debug version of the CRT. This version is located in the following Visual Studio folder:..\VC\redist\Debug_NonRedist
- Copy the necessary DLL file assemblies from this folder.
- On the computer on which you want to run the application, copy the DLL file assemblies into a folder that has the same name and path under the folder for the Visual C++ application.
Article ID: 948854 - Last Review: May 30, 2008 - Revision: 1