Single instance...

  • Thread starter Thread starter Franck Diastein
  • Start date Start date
Frank,

The only way to do this is if you have a reference to the other
instance. You need to pass that instance to your class, and then access the
fields/properties that you want...

Hope this helps.
 
I can't use references, since each time a start a process, is a diferent
trhead.

I managed to know if the app is already running with Mutex, but I don't
know how to pass instance 2's arguments to instance 1...
 
Franck,

The posting should give you some insight into how to implement it for
1.1. Basically, you have to set up a remoting server in your app which you
will call from the second app to indicate that another instance has started
up.
 
Back
Top