Remoting to multiple instances of the same application

J

John Smith

I have a service that spawns multiple processes, each being an instance of
the same application running on the same machine. I am trying to set up
remoting so that the service can communicate with each process. How can I
differentiate between each process when making a call from the service to
the application?

Thx
 
M

Michael Nemtsev

Hello John,

What if to use PID (process ID) ? GetWindowThreadProcessId WinAPI method

JS> I have a service that spawns multiple processes, each being an
JS> instance of the same application running on the same machine. I am
JS> trying to set up remoting so that the service can communicate with
JS> each process. How can I differentiate between each process when
JS> making a call from the service to the application?
JS>
JS> Thx
JS>
---
WBR,
Michael Nemtsev :: blog: http://spaces.msn.com/laflour

"At times one remains faithful to a cause only because its opponents do not
cease to be insipid." (c) Friedrich Nietzsche
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top