Building a release in Visual C++

Hi, I've had a good search of the forum but found nothing similar to my problem. I can compile a basic win32 project which just displays a window and some random colours etc etc. It runs fine on my system but not on others, even when compiled in release mode. My friends get a "This Application is not configured correctly" when they try to run it, are there settings in Visual C++ 2008 i need to change to create a release exe that will run on any windows with xp sp2? I know this is an annoying question, any help is most appreciated :)

Kim
I haven't had a chance to play with VC++2008 yet... but that's a weird problem.

Is that the _exact_ error message they are getting?

My _guess_ is that you are using a DLL that is not present or correct on their systems.
I am having the exact same problem.

The exact error is a popup message saying, "The application has failed to start because the application configuration is incorrect. Reinstalling the application may fix this problem."

Its a pop up even the program starts. I have the 2 extra DLLs I need in the same folder as the .exe (libcurl.dll & zlib1.dll). Both platforms (my workstation and target workstation) are winXP SP2. My workstation has VC++2008 and target workstation has no compiler installed.
Ok... i've been told to either staticly link the dlls using /MT under muti threading

or create a setup project (which i have no idea how to)

or to install windows installer 3.1 and vcredist_x83.exe (which dont seem to work)

so im down to linking statcly (which increases the file size 10 fold, but its a small program. so no problems right??)
Topic archived. No new replies allowed.