Hawkings
Hawkings

Reputation: 533

How do I distribute a program created with Visual C++?

I have created a program with VC++ by the first time, and when I send the .exe file to other people they can't open it. It doesn't crash because of an error, it simply doesn't open. What do I have to do if I want other people to correctly use my program?

Thank you.

Upvotes: 3

Views: 956

Answers (2)

ralphtheninja
ralphtheninja

Reputation: 133008

Make sure to bundle your application with vcredist_x86.exe found on this page:

http://www.microsoft.com/downloads/en/details.aspx?displaylang=en&FamilyID=a7b7a05e-6de6-4d3a-a423-37bf0912db84

Upvotes: 4

Valery Arkhangorodsky
Valery Arkhangorodsky

Reputation: 163

You can customize that but generally Debug builds include information for the debugger to work well and use different run time libraries that may not be installed on your target system. Release builds are using optimizations during compile and link times, do not include debugging info and are linked with binaries that are included in MS redistributable package.

Upvotes: 2

Related Questions