Inter process communication!

  • Thread starter Thread starter DBC User
  • Start date Start date
D

DBC User

Hi,

I have 2 completly independent programs and they need to talk to each
other once in a while. Both are .Net VS2005 c# programs and both
reside in the client machine. I have a limitation, I can not use MSMQ
or registry. I want this program to run in Standard user mode when
moved to Vista as well.
At present I am serializing the objects and using File watcher to get
the messages. It is working but I would like to know is there a BETTER
way of doing thing? I am open to new technologies and any other ideas.

Thanks.
 
Hello DBC,

..NET Remoting could be a good approach for that scenario.


Oliver Sturm
 
DBC User said:
Hi,

I have 2 completly independent programs and they need to talk to each
other once in a while. Both are .Net VS2005 c# programs and both
reside in the client machine. I have a limitation, I can not use MSMQ
or registry. I want this program to run in Standard user mode when
moved to Vista as well.
At present I am serializing the objects and using File watcher to get
the messages. It is working but I would like to know is there a BETTER
way of doing thing? I am open to new technologies and any other ideas.

Thanks.


As Oliver said, Remoting is an option but WCF is even better, given that you intend to move
to Vista (which includes V3 of the Framework) anyway.
When using Remoting, your best option for "cross-process same machine IPC", is using the IPC
channel, while WCF's fastest is the NamedPipe channel.

Willy.
 
As Oliver said, Remoting is an option but WCF is even better, given that you intend to move
to Vista (which includes V3 of the Framework) anyway.
When using Remoting, your best option for "cross-process same machine IPC", is using the IPC
channel, while WCF's fastest is the NamedPipe channel.

Willy.

I was looking for the same. Do you know WCF is supported in XP SP2
with Frame work 2.0?
 
DBC User said:
I was looking for the same. Do you know WCF is supported in XP SP2
with Frame work 2.0?


WCF is part of V3 of the framework, and available for XP SP2. Note that V3 is just an
additional set of libraries (WCF, WPF, WF ...) and available via Windows Update.

Willy.
 

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