Hello,
We have a program we are building with Visual Studio 2005 for x86.
In the past we used Visual Studio 6, and there was no problem. With Visual
Studio 2005, if we build the executable normally, all is well. If we build it
for debugging, then at program startup we get a popup saying
This application has failed to start because MSVCP80.dll was not found.
Re-installing the application may fix this problem.
Other info:
We see this on multiple systems, including a Windows 2003 and a Windows 2008
system.
All downloadable updates have been installed, including SP1. Inside "About",
it says "Version 8.0.50727.867 (vsvista.060727-8600)" and for the .NET
Framework it says "Version 2.0.50727 SP1". It shows ENU Service Pack 1
(KB926601) and Update (KB932232) as installed.
This is not a secondary system on which we see the problem -- there's no
reason to have an expectation that we can possibly have failed to install the
CRT components. These are the actual systems on which VS 2005 is installed
and on which the application was compiled and linked. If we look at the
installed components, all the options under Visual C++ are selected.
We do not compile and link using the IDE. Instead we use makefiles and run
the command-line tools.
On my Windows 2008 system, I find that MSVCP80.DLL is located in the
following places under \windows\winsxs:
Directory of
c:\Windows\winsxs\amd64_microsoft.vc80.crt_1fc8b3b 9a1e18e3b_8.0.50727.42_none_93b21c24844efba7
02/08/2008 02:04 PM 1,097,728 msvcp80.dll
1 File(s) 1,097,728 bytes
Directory of
c:\Windows\winsxs\amd64_microsoft.vc80.crt_1fc8b3b 9a1e18e3b_8.0.50727.762_none_c905be8887838ff2
02/08/2008 02:04 PM 1,061,376 msvcp80.dll
1 File(s) 1,061,376 bytes
Directory of
c:\Windows\winsxs\x86_microsoft.vc80.crt_1fc8b3b9a 1e18e3b_8.0.50727.1434_none_d08b6002442c891f
01/19/2008 05:04 AM 558,080 msvcp80.dll
1 File(s) 558,080 bytes
Directory of
c:\Windows\winsxs\x86_microsoft.vc80.crt_1fc8b3b9a 1e18e3b_8.0.50727.42_none_db5f52fb98cb24ad
02/08/2008 02:04 PM 548,864 msvcp80.dll
1 File(s) 548,864 bytes
Directory of
c:\Windows\winsxs\x86_microsoft.vc80.crt_1fc8b3b9a 1e18e3b_8.0.50727.762_none_10b2f55f9bffb8f8
02/08/2008 02:04 PM 548,864 msvcp80.dll
1 File(s) 548,864 bytes
In case it is important, manifest file for our executable consists of the
following:
<?xml version='1.0' encoding='UTF-8' standalone='yes'?>
<assembly xmlns='urn:schemas-microsoft-com:asm.v1' manifestVersion='1.0'>
<dependency>
<dependentAssembly>
<assemblyIdentity type='win32' name='Microsoft.VC80.DebugCRT'
version='8.0.50727.762' processorArchitecture='x86'
publicKeyToken='1fc8b3b9a1e18e3b' />
</dependentAssembly>
</dependency>
</assembly>
Can anyone suggest what we might be doing wrong or how we can work around
this?
Thanks,
Nathan