How to make 2 executables communicate in both directions in Windows
- by user302099
Hello.
I have 2 Windows console applications, reading from standard input and writing to standard output. I'd like to assume I don't have the source code to any of them (actually I usually have the source code of one of them).
I want to direct the standard output of one to the standard input of the other and vice versa, thus allowing communication (the goal is to allow two programs playing a certain game to play one against the other).
How can this be done? I'm willing to do some C/C++ programming or anything else required.
Oren.