Sign in to follow this  
MadsGustaf

This application has failed to start because...

Recommended Posts

So. For the first time in a very long time, im trying to distribute my games to a few friends. However they all seem to get the very informal error "This application has failed to start because the application configuration is incorrect. Reinstalling the application may fix this problem" I know i have all the required dlls for my .lib files to work. So i am clueless why they dont work on other computers. I am using MSVC++ 2008 EE, compiling in /MD under windows vista. And yes, It is a release build. I do not know if it is important, but i am generating a manifest file. I installed my IDE from here: http://www.microsoft.com/express/download/ I could not remember installing vcredist_x86, so i went and downloaded it from here: http://www.microsoft.com/downloads/thankyou.aspx?familyId=9b2da534-3e03-4391-8a4d-074b9f2bc1bf&displayLang=en but when i install it i get the following error: http://img246.imageshack.us/my.php?image=errorud7.jpg (i cannot remember having installed anything else compiler specific apart from the IDE itself) Thanks in advice! Edit: Alright! It seems i cannot even distribute a simple "hello world" program. I tested on my other computer (OS: XP) where it gives me the same error message. [Edited by - MadsGustaf on March 6, 2008 2:50:17 PM]

Share this post


Link to post
Share on other sites
Ok now this is abit of a shot in the dark but i belive that windows vista memory works on a differnt bit from xp witch may be why the program crashs you will notice as far as i have seen so far that if yo urun a few Xp Programs on Vista they crash and as i sead that probaly a memory issue you may try right clicking on the Program Icon and see if there are compatablity options.

Regards Jouei

Share this post


Link to post
Share on other sites
doesn't seem to be it. Still gives me the same error. I think the source to the problem is that i have not been able to install the vcredist_x86:

http://img246.imageshack.us/my.php?image=errorud7.jpg

Share this post


Link to post
Share on other sites
Switch to /MT rather than /MD. If you dynamically link (/MD), then you must distribute the correct runtimes with your exe. Static linking (/MT) "solves" this problem, but is not really the recommended way to do it.

Share this post


Link to post
Share on other sites
Problem is SDL is multi-threaded. I am pretty sure i am distributing all the correct files with it. Is there no way around. Has anyone else had the error i got when installing vcredist_x86?

Share this post


Link to post
Share on other sites
Well, it seems i cant even get a simple hello world program to work on another computer when i use /MD.. Is there really no other way around, or is it just the way it is supposed to be?
I am pretty sure i havent gotten vcredist_x86 installed, as i get this error. http://img246.imageshack.us/my.php?image=errorud7.jpg

Share this post


Link to post
Share on other sites
HRESULT 0x80070002 can either mean "file not found" or in the case of a registry key "key not found or accessible". I can think of a couple of possibilities. Are you running vcredist_x86.exe as Administrator (right click on it and do a Run As...)? Are you running 32 bit Vista or 64 bit? Where did you get vcredist_x86.exe from (random website, or bundled with your VS)?

Share this post


Link to post
Share on other sites
Yes. I have ran it as Administrator . I am running a 32-bit vista, and i got the vcredist_x86.exe from a google seach which took me straight to the download (aka random webpage).

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this