944,147 Members | Top Members by Rank

Ad:
  • C++ Discussion Thread
  • Unsolved
  • Views: 3758
  • C++ RSS
May 15th, 2006
0

Make .exe files that runs on any machine with VS C++ 6.0?

Expand Post »
Is there any way to make an .exe file with VS C++ 6.0, that runs on any
machine that has/does not have MS VS?

Just want to make a single .cpp file for computer graphics using GLUT into an executable where anyone, especially my examiners to run it by double clicking and without opening up MS VS...etc .

I kinda suck when it comes to this . Too used to Delphi and Java where I don't need to scratch my head in making .exe or .JAR that can be run anywhere since it's automated.

Thanks in advance to anyone who gives a helping hand electronically..:mrgreen:
Last edited by Dave Sinkula; May 15th, 2006 at 4:48 pm.
Similar Threads
Reputation Points: 13
Solved Threads: 1
Light Poster
j1979c is offline Offline
42 posts
since Sep 2005
May 15th, 2006
0

Re: Make .exe files that runs on any machine with VS C++ 6.0?

use the depends.exe that is in the vc++ 6.0 install bin directory to find out what dlls are required, then install those dlls with your program. You must take care not to overwrite newer versions of the same dll that is on the target machine. If you use an install program such as InstallShield it will make those tests. To minimize the number of dlls that you need to install you can compile your program for Release Minimum Dependencies and the compiler will statically link most of them. It will make your program .exe bigger but reduce the number of dependent dlls
Sponsor
Team Colleague
Featured Poster
Reputation Points: 5608
Solved Threads: 2283
Retired and Enjoying Life
Ancient Dragon is offline Offline
21,963 posts
since Aug 2005

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in C++ Forum Timeline: problem with a list!!
Next Thread in C++ Forum Timeline: Dynamic Boolean Array in VC++.net 2003





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC