Sign in to follow this  

start windows application by other one

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

This topic is 4107 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.

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