Calling a method on a different process

  • Thread starter Thread starter Mike Smith
  • Start date Start date
M

Mike Smith

Hello all,

I am looking to call a method on a process - in fact another instance of the
same application - once I have already determined it is running. Do I need
to use remoting to achieve this or is there a simpler mechanism since it is
on the same machine?

Thanks in advance for any suggestions,
Mike
 
I think the best way is to use remoting, but there are other options like
MSMQ I believe to communicate between AppDomains...

Greetz,
-- Rob.
 
Would I be right in thinking though that this would invoke the method in the
caller's process rather than in the called process? In my case I definitely
need to affect the actions of the found process rather than simply use the
method.

Hope this makes sense,

Mike
 
Check out .Net Remoting, Server Activated Objects, you'll
be on the same machine so use BinaryFormatting and TCP
channels.

HTH,

mk
 
Back
Top