• Welcome to Computer Association of SIUE - Forums.

Problems with Visual Studio on my home computer

Started by nizate, 2006-09-15T11:36:59-05:00 (Friday)

Previous topic - Next topic


Every time I try to execute, I get the following warning:

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

Well, I re-installed twice and I still get the same warning.  Any ideas?  Thanks.


Andrew may have a more specific answer and you may try googling that error, but it sounds like VS uses a system DLL that for some reason is no longer on your machine. You might be able to downlaod the DLL and then place it in I beleive the system32 folder. Kind of a half-a$$ fix but its worked before
President of CAOS
Software Engineer NASA Nspires/Roses Grant

R. Andrew Lamonica

When you say "every time I try to execute" what do you mean?

A) You are trying to run a program from within Visual Studio with the Blue start button.

B) You are trying to run a program from within Visual Studio with the Red exclamation point.

C) You are trying to run a program compiled by someone else on another machine by double-clicking on the Something.EXE file.

D) You are trying to run a program compiled by you* on another machine by double-clicking on the Something.EXE file.

E) You are trying to start the Visual Studio Environment with the Start-Menu Icon.

Another thing we need to know is what version of visual studio are you using (Likely choices are "Visual Studio 6.0", "Visual Studio .NET 2003", or "Visual Studio 2005").

* = If you compiled it, what version of Visual Studio did you use?


I'm using Visual Studio 2005.  I wrote a couple c++ programs.  Every time I hit ctrl/F5 (start without debugging), the black .exe box pops up but nothing displays.  Instead, the warning box pops up on top of it.  When I click OK to exit the warning box, the black box exits as well.

R. Andrew Lamonica

It sounds like you may need to rebuild your project or create a new project and put your .cpp file in it.  If you run without debugging the program will not rebuild the .exe if it already exists.  

The strange thing about this problem is that since you have not worked on the project on any other computer besides your own it is hard to believe that the program would have compiled to use a different version of the MSVCP*.dll than the one on your computer.

You can install a copy of the missing DLL by using the package found on this website, but you really should not need to do this.

Microsoft Visual C++ 2005 Redistributable Package (x86)



so i've got similar problem but i'm trying to run program which i wrote by myself on another machine and then error apears:

"application cannot be started, because of its configuration. re-installing may fix the problem"

can anyone help me and tell me what i've got to do to run this program on another machine beside of mine??

i need to say that on this another machine there's the same version of msvcm80d.dll file...

R. Andrew Lamonica

What language did you use to write the program? (C#, VB.NET, C++)

What version of Visual Studio did you write the program in? (6.0, .NET 2003, 2005)

Does the computer you tried to run the program on have Visual Studio?  If so, what version?

Was the program compiled in Debug Mode or Release Mode. (Debug is the default, so if you don't know what I am talking about then it was probably Debug mode).

How big is the executable? (<100kb or >100kb)


i wrote it in visual c++, version of visual studio is 2005 pro , other computer doesn't have any visual studio, i copiled it in release mode ond the executable is less than 100Kb...

R. Andrew Lamonica

Ok. So, the problem is probably that the destination machine does not have the runtime library DLL that you compiled your code with.  You can solve this problem at compile time by avoiding the use of the DLL (the default is to use it because it makes the EXE’s smaller).  This is a property of the project that you created.  

Since you are compiling in release mode, you may want to perform the following procedure twice (once for debug and once for release) but just performing it on the â€Ã...“releaseâ€Ã, configuration is probably ok.

Step 1: Go to the project properties for the project you want to compile. (Project->Properties)
Step 2: Select â€Ã...“Releaseâ€Ã, from the â€Ã...“Configurationâ€Ã, drop-down [color=FF0000][1][/color] at the top of the properties page.
Step 3: Open the â€Ã...“Configuration Properties->C/C++->Code Generationâ€Ã, Item.
Step 4: Select â€Ã...“Multi-Threaded (/MT)â€Ã, NOT â€Ã...“Multi-Threaded DLLâ€Ã, from the â€Ã...“Runtime Libraryâ€Ã, [color=FF0000][2][/color] Option.  If you were changing the Debug options you would select debug item that lacks  ÃƒÂ¢Ã¢â€šÂ¬Ã...“DLLâ€Ã,.
Step 5: Click OK and recompile your executable.

Obviously, it would be better if the destination computer had the runtime DLL’s but for a single non-professional project, this will work fine.

Keep in mind, that if you are using a school issued (MSDNAA) version of Visual Studio 2005, then you are not allowed to use that software for non-academic projects (for example if you need your executable to run on your boss’s computer).


thank you for helping me with this... but there's another problem. i did how you wrote: i've set runtime library from â€Ã...“Multi-Threaded DLLâ€Ã, to â€Ã...“Multi-Threaded (/MT)â€Ã, but then error appears:
"cl : Command line error D8016 : '/MT' and '/clr' command-line options are incompatible"

and i tried to compile in debug mode instead of release but it still doeasn't work :(

R. Andrew Lamonica

Yikes. Who are you writing this for and why are you using â€Ã...“managed C++â€Ã,?  

As far as I know the CS Department reserves .NET for our VB.NET, C#, and ASP.NET classes.  I have not heard a teacher assign anyone to use Managed C++ yet.  I believe that this is because Managed C++ is really just a transitional tool for companies that are trying to make the jump to .NET but still have a lot of C++ code running around.

The reason you code is not working is that Managed C++ applications require the .NET framework.  You can install this framework using Windows Update and looking under the â€Ã...“Recommended Updatesâ€Ã,, but if this is your own project, you might want to consider switching to a regular Win32 application or a full blown C# application instead of Managed C++.

P.S. I consider Managed C++ to be different form C++ which is why I did not answer your question correctly the first time.  I assumed that you would answer my "what language" question with â€Ã...“Managed C++â€Ã, if that was what you were using. Sorry.


thank you very much. you were very helpful. in meantime i realised by myself that i need to install .NET framework on other computer... but i'm thinking now about switching to regular Win32 app. thanks again