hello i wrote a c++ program, and i wanted to send it to my friends, but everytime i send the exe file to them, they tell me they get the error: "The application has failed to start because the application configuration is incorrect". I tried to put it on rapidshare, and i downloaded it to my computer, it ran. So i did a little research, and i dont really understand. is it because my friends have vista, or do i have to link staticaly (which idk how to do). Anyways the question is, how can i send the exe of a c++ to someone without sending them the code itself and then them compiling it. Thanks for any help.
aburich_44
-11
Newbie Poster
Recommended Answers
Jump to Poststatic libraries go to Properties - Configuration Properties - C/C++ - Code Generation - Runtime Library and select either "Multi-threaded (/MT)" or "Multi-threaded Debug (/MTd). Otherwise, you'll have to distribute the runtimes with it.
Jump to Postouch. I think express edition doesn't have the ability to statically link to libraries :icon_eek:
You will need to ship the libraries with your app. Check This Link, and hopefully you can …
Jump to PostI personally would suggest using an IDE that's free and fully functional such as Code::Blocks which has a rich set of
Jump to PostYou can do it in express. Right click your .cpp file and then properties. Works for me at least.
All 14 Replies
Comatose
290
Taboo Programmer
Team Colleague
aburich_44
-11
Newbie Poster
Comatose
290
Taboo Programmer
Team Colleague
aburich_44
-11
Newbie Poster
Comatose
290
Taboo Programmer
Team Colleague
MatEpp
11
Junior Poster in Training
Comatose
commented:
Nice Post. Clear and Accurate.
+10
aburich_44
-11
Newbie Poster
Comatose
290
Taboo Programmer
Team Colleague
aburich_44
-11
Newbie Poster
mrnutty
761
Senior Poster
Yiuca
33
Junior Poster in Training
MatEpp
11
Junior Poster in Training
MatEpp
11
Junior Poster in Training
mrnutty
761
Senior Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.