I'm making a fairly simple program (That I've already had other issues on and got help for) but just a few moments ago I compiled it and tried to run it for the first time. It compiled perfectly but when I went to run it I got an error box titled
Unable To Locate Componant
This application has failed to start because MSVCP90D.dll was not found. Re-installing the application may fix this problem.
Re-install how? I made it myself >_<
Anyone seen this before? I tried deleting everything in the project's debug folder and rebuilding, but that didn't change a thing. I can handle compile errors but this is something quite new for me.
This is a runtime lib used by programs made in MSVS. If you installed VS on your computer, you really should have all the necessary runtimes. It's very odd that you'd get such an error.
Perhaps you can try to avoid using the dynamically linked runtimes, and build them statically into the exe. Go in your project settings, look around for a "Code Generation" section (it was in the "C++" section of the property pages for the project in my old VS) and opt for the non-DLL version of the runtime (ie: "Multithreaded Debug" is preferable to "Mutithreaded Debug DLL"). This will result in a somewhat larger executable, but should eliminate these errors.
Or you could try reinstalling VS. Maybe the install was botched somehow. Or maybe try updating your .net runtimes. I'm kind of grabbing at straws with that though.
That's odd. This typically happens when you compile with VC++ and then try to run the program in a computer that doesn't have the runtime installed. But the computer that has the compiler installed should already have the runtime. On the other hand, something very similar to this happened when I tried a specific combination of compiler settings and libraries.
Try going to project properties>C/C++>code generation>runtime library: any of the ones without DLL. If you're compiling for debug, multi-threaded debug, otherwise, multi-threaded.
Ok I'll try that. Its strange, I've had it for about a year and never had any problems like this with it, I don't know why MSVS would just spontaneously lose files.
Haha
Switched to Multi-threaded debug, compiled, maxxed out the error buffer. Almost cried. Deleted the contents of the debug folder, compiled again, and its clean and working nicely.