What is the best way for two programs on the same machine to communicate with each other
c#, c++, communication, ipc
Solution
My personal preference for this, given that you're using C++ and C# both, and it's on the same system, would be to use Pipes.
They work very well from native code (C++) as well as from C# via NamedPipeClientStream and NamedPipeServerStream.
However, there are other options for Interprocess Communication, any of which would work.
Problem
I need to pass some data (integers) from one (C++) program to another (C#). What is the fastest way to do this? P.S.: OS: Windows XP