Skip to main content
GameDev.net gamedev.net
🔒 Locked

Problems distributing VC08 C++ app

Started by essial Jan 30, 2008 at 9:18 PM 3 replies 750+ views
Original Post
essial
essial
I get a "this application configuration is incorrect" whenver I try to run a release (or debug) build of a pure win32 C++ (no .net) app on a computer that does not have visual studio installed. I even get this error when I install the VC09 C++ redistributables on said computer. I've google searched all about it, it seems to be a common problem, but have yet to figure out how to fix it. I tried setting the runtime to be "multithreaded" instead of "multithreaded dll", but that produces redfinition errors. When I tell VS to ignore libcmt.lib, it gives a single "__HUGE is not defined" error. Any ideas?
bakery2k1
bakery2k1
Lets try to get it working with "Multithreaded DLL". Which version of Visual Studio are you using? How did you install the redistributables on the target machine?
adam4813
adam4813
I had this issue as well check for the manifest file and that it is embedded or you include it.
Ezbez
Ezbez
Check out this thread. It should hopefully help you out.
essial
essial
Thanks Ezbez, that forum post worked. I copied the files from the "Microsoft Visual Studio 9.0\VC\redist\x86\Microsoft.VC90.CRT" folder over to the application folder and everything works great!

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.