S
Sunburned Surveyor
I'm very new to C# programming, but I have been writing programs in
Java for several years. I'm trying to find a simple way to send short
messages and data packages between two separate C# programs running on
the same computer.
I found a library on CodeGuru that allows this to be done using .NET
wrappers of Win32 named pipes. I also read that this can be done by
serializing and deserializing objects.
Is there a better way? I know I can use the serialization technique,
but it probably isn't the most elegant approach. I'm not sure if the
named pipes library is maintained anymore, and I don't know if it will
work on 64 bit Windows.
I appreciate any suggestions on how to handle this. Please note that I
do not need a solution that will allow communication over the internet
or a network. My two processes will always be running on the same
machine.
Thanks,
The Sunburned Surveyor
Java for several years. I'm trying to find a simple way to send short
messages and data packages between two separate C# programs running on
the same computer.
I found a library on CodeGuru that allows this to be done using .NET
wrappers of Win32 named pipes. I also read that this can be done by
serializing and deserializing objects.
Is there a better way? I know I can use the serialization technique,
but it probably isn't the most elegant approach. I'm not sure if the
named pipes library is maintained anymore, and I don't know if it will
work on 64 bit Windows.
I appreciate any suggestions on how to handle this. Please note that I
do not need a solution that will allow communication over the internet
or a network. My two processes will always be running on the same
machine.
Thanks,
The Sunburned Surveyor