Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Running another app on completion of current app

Status
Not open for further replies.

huricane

Programmer
Dec 28, 2002
6
0
0
GB
I am new to VC++ and VC++.NET

Does anyone know how to run another vc++ application after current the application running is completed?

I am developing with VC++.NET and will be running the app on a win98 machine

Any help will be appreciated
 
Call [tt]ShellExecute()[/tt] on the other app from within your [tt]ExitInstance()[/tt] function.
There are also other alternatives to using the ShellExecute() function such as CreateProcess(), etc. Read up on them and choose whichever you feel comfortable with.
tellis.gif

[sup]programmer (prog'ram'er), n A hot-headed, anorak wearing, pimple-faced computer geek.[/sup]​
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top