I need a way to communicate with other exe's. Almost like being able to call cout but to a exe, not the output stream. Both of the apps would be in c++. I know cout is for output stream, sstream is for any stream, fstream is for files, something like those, but for exe's. Basically they need to communicate. Thanks in advance.
mattloto
0
Light Poster
Recommended Answers
Jump to PostLinux has the concept of pipes to communicate between executables. Since you are saying "exes" I'm assuming you're in Windows, in which case I have no idea. You could always write to a file from program A and then read the file from program B, the problem would then be …
Jump to PostWindows also knows the concept of pipes (see CreatePipe on MSDN), although throughput is lower than on Linux. Chances are it's still fast enough for what you're trying to do, though.
All 6 Replies
daviddoria
334
Posting Virtuoso
Featured Poster
Aranarth
126
Posting Whiz in Training
tesuji
135
Master Poster
mattloto
0
Light Poster
mattloto
0
Light Poster
mkvist
0
Newbie Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.