PDA

View Full Version : Interprocess communication (Memory Mapped File)



Petr Schreiber
25-05-2008, 18:15
Hi,

here is the promised memory mapped file technique to communicate between processes.
This time "just" console example.

How to use:

Run Program1
Run Program2
Switch to Program1 and press any key


The programs will just say hello to each other. There is one virtual file opened for communicaiton Program1 -> Program2 ( "File1Virtual") and one for communicaiton Program2 -> Program1 ( "File2Virtual").


Petr

kryton9
25-05-2008, 22:50
Thanks Petr, very cool example!