Jump to content
  • Advertisement
Sign in to follow this  
f1engineer

start windows application by other one

This topic is 4391 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

Dear Sirs I need to run an application from my application when an event come and pass some parameters to it. Example: I have Application1.exe. Now I start it by *.bat file and pass parameters like following line: Application1 param1, param2 and it work. But I want to make this: //This member function is handling to the message WM_START_APP and //activated when the button Start is pressed void CApplicationHandler::OnStartApp() { //Start Application1 and pass params } Can someone help me? Best regards

Share this post


Link to post
Share on other sites
Advertisement
Guest Anonymous Poster

ShellExecute

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/shellcc/platform/Shell/reference/functions/shellexecute.asp

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • 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!