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
Learn 3D graphics with ThinBASIC, learn TBGL!
Windows 10 64bit - Intel Core i5-3350P @ 3.1GHz - 16 GB RAM - NVIDIA GeForce GTX 1050 Ti 4GB
Thanks Petr, very cool example!
Acer Notebook: Win 10 Home 64 Bit, Core i7-4702MQ @ 2.2Ghz, 12 GB RAM, nVidia GTX 760M and Intel HD 4600
Raspberry Pi 3: Raspbian OS use for Home Samba Server and Test HTTP Server
Bookmarks