Interprocess Communication.

  • Thread starter Thread starter UJ
  • Start date Start date
U

UJ

What's the easiest way to send a 'message' to another program running on the
machine. All I need to do is send a message saying that something has
happened. The other program should be able to figure out based on the
message what to do.

I'm currently using Message Queues but it's turning out I don't really need
it and our customers don't always have it so we have to install it.

What I'm looking for I guess is a semaphore or a trigger...

Any ideas?

Thanks.

J.
 
J.

What about a Mutex? If you need something more complex you can use
..NET Remoting.

Brian
 
Hi,

There are several ways of doing this, one possible solution is to use a
Socket connection. you could also use remoting.
 
UJ said:
What's the easiest way to send a 'message' to another program running on
the machine. All I need to do is send a message saying that something has
happened. The other program should be able to figure out based on the
message what to do.

If you just need to say "something happened", then a named event. If you
need to say "blah happened" vs "quack happened", then a named pipe for same
machine, socket for flexibility of running across a network.
 

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