467,923 Members | 1,392 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 467,923 developers. It's quick & easy.

unable to locate MSVCP80D.dll

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?

Regards,

-ab.
Sep 29 '06 #1
  • viewed: 12224
Share:
4 Replies
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
Sep 29 '06 #2

I'm running it on my development machine. As I said the other project, which
is basically the same as this one, is running fine. I just took another copy
of the same project from vss and now after building it doesnt run and gives
the error i mentioned. The MSVCP80D.dll is located in my pc in the following
folder:
F:\WINDOWS\WinSxS\x86_Microsoft.VC80.DebugCRT_1fc8 b3b9a1e18e3b_8.0.50727.42_x-ww_f75eb16c

-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


Sep 29 '06 #3
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


Sep 29 '06 #4
Hi Abubakar,

"Abubakar" <em**********@yahoo.comwrote in message
news:eF*************@TK2MSFTNGP04.phx.gbl...
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?
Embed the manifest: in both Release and Debug project properties:

Configuration Manifest Tool Input Output Embed manifest = True

Rebuild and it should work.

--
SvenC
Regards,

-ab.


Sep 29 '06 #5

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

2 posts views Thread by Ron Jackson | last post: by
5 posts views Thread by eranshuman | last post: by
1 post views Thread by Markw | last post: by
3 posts views Thread by =?Utf-8?B?TGV3aXMgTW90ZW4=?= | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.