Microsotf Visual C++ 2005
Alright, when I compile my program with Visual C++ 2005 it works fine on my computer. But I think it might be linked to some strange .net dll or equivalent, since when I run it on any other computer I get a nice
"This Application has failed to run because the application configuration is incorrect. Reinstalling the application may fix the problem."
I checked my MFC (set to use standard libraries, which I am going to assume simply means discarding MFC), and ATL(?) and I am not using anything. I do have the PSDK and everything installed on my machine. Do my targets need it?
Anyway, I have had problems with this before, so I didn't want to ask, but after spending a good two hours on google, I decided that you are probably going to be allot more efficient and coherent.
If you need my code than I'll post it
I had the same problem. I found two solutions.
1)Change the runtime library(in the properties->c/c of your project) to Multithreaded or multithreaded debug. Don't use the DLL type.
2)Or if you're like me you need to use the DLL(for SDL or whatever), you need to have the user install the .net framework redistributable,I believe this is the correct link
there is a 3rd option, but I don't know if it's legally alright to do. You could just copy the Microsoft.VC80.CRT folder from your \Microsoft Visual Studio 8\VC\redist\x86 folder to your program folder.
1)Change the runtime library(in the properties->c/c of your project) to Multithreaded or multithreaded debug. Don't use the DLL type.
2)Or if you're like me you need to use the DLL(for SDL or whatever), you need to have the user install the .net framework redistributable,I believe this is the correct link
there is a 3rd option, but I don't know if it's legally alright to do. You could just copy the Microsoft.VC80.CRT folder from your \Microsoft Visual Studio 8\VC\redist\x86 folder to your program folder.
Insure the Runtime library is "Multi threaded"
I use the Express edition, so it may be in a different location.
(Under project settings->C/C++->code generation)
*edit-to late!
I use the Express edition, so it may be in a different location.
(Under project settings->C/C++->code generation)
*edit-to late!
Wait, wait, wait.
Is this a dot NET problem? I would rather completely Eliminate dot NET or anything microsofty that doesn't ABSOLUTELY need to be there.
Which option does that? Probably the mutlithreated one (I didn't know it was multithreated)
[EDIT]
Okay, I did that, but now I can't find the DirectX dll (d3d9x_32.dll) *sigh* that just means I don't have directX installed right? (which makes no sense since my other computer has 9.0c) thanks :)
Is this a dot NET problem? I would rather completely Eliminate dot NET or anything microsofty that doesn't ABSOLUTELY need to be there.
Which option does that? Probably the mutlithreated one (I didn't know it was multithreated)
[EDIT]
Okay, I did that, but now I can't find the DirectX dll (d3d9x_32.dll) *sigh* that just means I don't have directX installed right? (which makes no sense since my other computer has 9.0c) thanks :)
It's D3DX, they release new versions every other months, so you'll need to update your installation (or copy the dll).
"9.0c" first came out over 2 years ago and is, in effect, a completely meaningless version number now. Since then (not surprisingly) a lot has changed, especially in D3DX.
Get the latest DirectX Runtimes using the Web Installer from http://www.microsoft.com/downloads/details.aspx?FamilyId=2DA43D38-DB71-4C1B-BC6A-9B6652CD92A3&displaylang=en
All the best,
ViLiO
Get the latest DirectX Runtimes using the Web Installer from http://www.microsoft.com/downloads/details.aspx?FamilyId=2DA43D38-DB71-4C1B-BC6A-9B6652CD92A3&displaylang=en
All the best,
ViLiO
Quote:
"This Application has failed to run because the application configuration is incorrect. Reinstalling the application may fix the problem."
worst error message ever? instead of static linking the runtime you can include the Microsoft Visual C++ 2005 Redistributable Package (x86) or a link to it.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement