Sign in to follow this  
johnnyBravo

c++, How to run an executable from my program? and then close the opened program?

Recommended Posts

Nemesis2k2    1045
If you're developing for windows, the Win32 API of course. The CreateProcess() function will allow you to launch the seperate executable. If you want to close it, you simply send a WM_CLOSE message to the application using the SendMessage() function.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this