Click here to Skip to main content
15,885,546 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I know how to pass parameters from one exe to another while starting the process.
But my requirement is that I need to send some acknowledgement back to the old exe by means of parameter.

The process is running. Is there any way to pass parameters to a running exe.

How to do this.
Posted

1 solution

Yes...and no.
You can't just send a string argument - you would have to use some form of interprocess communications, such as Sockets or Pipes.

This should give you an idea what to do: http://msdn.microsoft.com/en-gb/library/windows/desktop/aa365574(v=vs.85).aspx[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900