Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

DarkWhoppy

Opening a EXE from Console

This topic is 5476 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

How would I go about doing that? (C++) Lets say.. I have a menu, and I want to open another EXE from a different folder. Example... MENU CHOICES [1] Launch Game [2] Configure [3] Quit I want the "Configure" choice to launch the config .EXE. Get what im saying?

Share this post


Link to post
Share on other sites
Advertisement
You can use the system() function to give a system command, for example launching a program - system("config.exe");

[edited by - eriel on September 21, 2003 2:31:19 PM]

Share this post


Link to post
Share on other sites
Isn''t there a kill() function? Search MSDN for a function that kills the window. I can''t really offer much help here otherwise.

Scott Simontis
e-mail:ageofscott@comcast.net
AIM:ssimontis

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!