2

In ANSI C on Windows what is the best/easiest way to transfer data between two programs running locally without needing to write/read from a file? Data will be basic text and only one program will be sending and the other receiving. Thanks.

James McNellis
  • 348,265
  • 75
  • 913
  • 977
Shawn
  • 2,356
  • 6
  • 48
  • 82

1 Answers1

2

Inter-process communication is inherently platform-dependent; "ANSI C" doesn't have anything to say about this, but you should start here for Windows:

http://msdn.microsoft.com/en-us/library/aa365574(VS.85).aspx

Much depends on the kinds of applications you're talking about, and the volume of data, and how tightly coupled the processes are.

Ben Zotto
  • 70,108
  • 23
  • 141
  • 204