Hi all,
I want to make a place in memory.  I want to use this memory to transfer some data
from an application to another app.
It should be a shared place and only in MEMORY.
and How to read and write from and to the memory????
Posted on 2006-04-01 11:53:45 by dsolarium
What you want is probably a named memory mapped file, with the hFile parameter set to INVALID_HANDLE_VALUE . This way, you don't really create a file for the memory, and it is backed by the paging file.

There are other ways to do inter-process communication too, including sockets, pipes, mailslots and whatnot. Heck, MSDN/PlatformSDK has an entire section on IPC.
Posted on 2006-04-01 12:02:29 by f0dder
Here's the link: Interprocess Communications
Posted on 2006-04-02 06:46:00 by ti_mo_n
I agree with f0dder.
He's talking about "Shared Memory Objects" (SMO) - I found plenty of information on MSDN regarding this not-so-well known feature of filemapping api..
Posted on 2006-04-04 11:25:21 by Homer