So now to just run my application anyway, I have copied msvcp80d.dll and
msvcr80d.dll from the
F:\WINDOWS\WinSxS\x86_Microsoft.VC80.DebugCRT_1fc8 b3b9a1e18e3b_8.0.50727.42_x-ww_f75eb16c
folder to my *.exe path and ran the application only to get the following
message:
---------------------------
Microsoft Visual C++ Debug Library
---------------------------
Debug Error!
Program: E:\app\Debug\myapp.exe
R6034
An application has made an attempt to load the C runtime library without
using a manifest.
This is an unsupported way to load Visual C++ DLLs. You need to modify your
application to build with a manifest.
For more information, see the "Visual C++ Libraries as Shared Side-by-Side
Assemblies" topic in the product documentation.
(Press Retry to debug the application)
---------------------------
Abort Retry Ignore
---------------------------
Does this message give u any clue to what must be wrong? Maybe changing some
project properties will solve the problem?
-ab.
"Carl Daniel [VC++ MVP]" <cp*****************************@mvps.org.nospam >
wrote in message news:u1*************@TK2MSFTNGP06.phx.gbl...
Abubakar wrote:
>Hi,
I'm using vs2k5 vc++ (native/unmanaged). I just took a separate copy
of a project from source control (vss) and after fixing its
dependencies build it and it builds fine. But when I try to run the
exe it reports the following strange message:
---------------------------
myapp.exe - Unable To Locate Component
---------------------------
This application has failed to start because MSVCP80D.dll was not
found. Re-installing the application may fix this problem.
---------------------------
OK
---------------------------
My previous project runs just fine, but i dont know y is the new copy
not able to locate the dll mentioned. How do i fix it?
Are you trying to run your application on a computer that doesn't have
VC2005 installed? That would seem to be the most likely cause of your
error.
MSVCP80D is the debug C++ standard library. It's installed by with VC++
installer and won't exist on any machine that doesn't have VC 2005
installed.
If you are trying to run your app on a non-development machine, you need
to do a Release build instead of a debug build, and you may need to
install the C++ runtime library DLLs on the machine (if it's got .NET 2.0
installed, then they're already there). There's a program included in
your VC++ installation called vcredist_x86.exe that can be used to install
the runtime libraries on other machines.
On the other hand, if you're having this trouble on the machine where VC++
is installed, then it sounds like your installation is damaged in some
way, because MSVCP80D definitely should be there.
-cd