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
 

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

Back
Top