Microsoft KB Archive/922321

= BUG: Error message when you convert an MFC application in Visual Studio 2005: &quot;This application has failed to start because MSVCR80D.dll was not found&quot; =

Article ID: 922321

Article Last Modified on 7/31/2006

-

APPLIES TO


 * Microsoft Visual Studio 2005 Team System Architect Edition
 * Microsoft Visual Studio 2005 Team System Developer Edition
 * Microsoft Visual Studio 2005 Team System Test Edition
 * Microsoft Visual Studio 2005 Team Foundation
 * Microsoft Visual Studio 2005 Standard Edition
 * Microsoft Visual Studio 2005 Professional Edition
 * Microsoft Visual Studio 2005 Express Edition

-





SYMPTOMS
Consider the following scenario. In Microsoft Visual Studio 2005, you convert a Microsoft Visual Studio .NET 2003 Microsoft Foundation Classes (MFC) application or a Microsoft Visual Studio .NET 2002 MFC application. You build the converted solution in debug mode, and then you run the MFC application. In this scenario, you may receive an error message that resembles the following:

This application has failed to start because MSVCR80D.dll was not found. Re-installing the application may fix the problem.

Note This problem is more likely to occur on a 64-bit computer or on a computer that has a very fast processor.



CAUSE
This problem occurs because the correct manifest data is not embedded in the MFC application.

The linker uses file time stamps to determine whether the manifest data must be regenerated during the build process. When you build the MFC application on a computer that has a very fast processor, intermediate build files are built very quickly. If the file time stamps do not change for these intermediate build files, the linker cannot detect that changes occurred. Therefore, the linker does not run the Mt.exe file to regenerate the correct manifest data.



WORKAROUND
To work around this problem, close the project immediately after the conversion to Visual Studio 2005 is finished. Then, reopen the project, and build the MFC application.



STATUS
Microsoft has confirmed that this is a bug in the Microsoft products that are listed in the &quot;Applies to&quot; section.

Keywords: kbtshoot kbbug KB922321

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.