my game works only on computers with visual studio 2005

Started by
15 comments, last by jchmack 18 years ago
Im using VC8 and im trying to distribute my game. When i give it to them though i get this error: This application has failed to start because the application configuration is incorrect. Reinstalling the application may fix this problem. It only works on computers with visual studio 2005. what do i do?
Advertisement
when you compile your program make sure you have it set to release and not debug.
The short of it is that the new Side-by-Side Assemblies of the C runtime are not on that computer.

You need to have an installer to install these. See this webpage:
http://www.codeproject.com/cpp/vcredists_x86.asp
ok i added the dll's in my directory like it said:

* C:\Test\game3.exe
* C:\Test\MSVCR80.dll
* C:\Test\MSVCP80.dll
* C:\Test\MSVCM80.dll
* C:\Test\Microsoft.VC80.CRT.Manifest

but i still get the same error...
You can't just copy them into the same folder, you need an installer.
i read an article saying that i should run this:

C:\Program Files\Microsoft Visual Studio 8\SDK\v2.0\BootStrapper\Packages\vcredist_x86

but i still get the same error.

I just run that on the target computer and then my app should work right?
Quote:Original post by jchmack
i read an article saying that i should run this:

C:\Program Files\Microsoft Visual Studio 8\SDK\v2.0\BootStrapper\Packages\vcredist_x86

but i still get the same error.

I just run that on the target computer and then my app should work right?


If you have built under the release configuration.
"C lets you shoot yourself in the foot rather easily. C++ allows you to reuse the bullet!"
Simple way to fix this should be to:

load up your project settings, and go to C/C++ -> Code Generation
Next change runtime library from Multi-threaded DLL to Multi-threaded and rebuild. That should sove your problem
Sam, is that statically linking the runtime?
Quote:Original post by Sam Gamgee
Simple way to fix this should be to:

load up your project settings, and go to C/C++ -> Code Generation
Next change runtime library from Multi-threaded DLL to Multi-threaded and rebuild. That should sove your problem


well i tried this and i get a bunch of link errors:

edit i took them out because they took too much space

This topic is closed to new replies.

Advertisement