Hi All,
How can I implement the shared memory concept with C language on windows platform?
Here I want to share a common data with 2-3 executable of C language files on windows platform.
Thanks in advance,
- Ram
Printable View
Hi All,
How can I implement the shared memory concept with C language on windows platform?
Here I want to share a common data with 2-3 executable of C language files on windows platform.
Thanks in advance,
- Ram
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/fileio/fs/mapviewoffile.asp.
Of course, you need serialization to access this shared memory.
A critical section cannot be used (it is limited to one process).
But you can use a mutex (see CreateMutex & co).