Solved

Opening exe files from within C++ programs

Posted on 1998-11-06
2
176 Views
Last Modified: 2010-04-02
What kinds of commands are available to have a C++ program run several other programs if I don't have their source codes.
0
Comment
Question by:usschaefer
2 Comments
 
LVL 12

Accepted Solution

by:
rwilson032697 earned 50 total points
ID: 1177143
Look up ShellExecute and CreateProcess. These allow you to run a wide variety of different programs in differnet circumstances.

Cheers,

Raymond.
0
 

Author Comment

by:usschaefer
ID: 1177144
Rwilson's answer was just what I was looking for.  Short and sweet.  Thanks a bundle.

0

Featured Post

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Often, when implementing a feature, you won't know how certain events should be handled at the point where they occur and you'd rather defer to the user of your function or class. For example, a XML parser will extract a tag from the source code, wh…
This article shows you how to optimize memory allocations in C++ using placement new. Applicable especially to usecases dealing with creation of large number of objects. A brief on problem: Lets take example problem for simplicity: - I have a G…
The viewer will learn how to pass data into a function in C++. This is one step further in using functions. Instead of only printing text onto the console, the function will be able to perform calculations with argumentents given by the user.
The viewer will learn how to use the return statement in functions in C++. The video will also teach the user how to pass data to a function and have the function return data back for further processing.

776 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question