C with Shared Memory
C / C++ / MFC
2
Posts
2
Posters
0
Views
1
Watching
-
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, -Ramesh
For C++, you have quite a few classes in Codeproject's Threads and IPC section[^]. Examples: CMemMap[^] Which seemed to inspire... XQueue[^] and even Microsoft's own CAtlFileMapping class[^]. Raymond chen notes another method[^], but this one opens a security hole. But for managing variables via shared memory, you'll definitely want to use a helper class.