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

Please support our C++ advertiser: Intel Parallel Studio Home
Reply

Join Date: Sep 2005
Posts: 42
Reputation: j1979c is an unknown quantity at this point 
Solved Threads: 0
j1979c's Avatar
j1979c j1979c is offline Offline
Light Poster

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

 
0
  #1
May 15th, 2006
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.
Reply With Quote Quick reply to this message  
Join Date: Aug 2005
Posts: 15,381
Reputation: Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute 
Solved Threads: 1466
Team Colleague
Featured Poster
Ancient Dragon's Avatar
Ancient Dragon Ancient Dragon is offline Offline
Still Learning

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

 
0
  #2
May 15th, 2006
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
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the C++ Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC