Memory Sample: Sharing Memory between Processes

Click to open or copy the Memory project files.

The Memory sample demonstrates the use of the file mapping functions to create named shared memory.

Building SDK Samples

This sample uses the following keywords:

beginpaint; clientwndproc; createfile; createfilemapping; createfontindirect; createmap; createmapfile; createwindow; createwindowex; defframeproc; defmdichildproc; defwindowproc; deleteobject; destroymenu; dialogbox; dispatchmessage; drawmenubar; enablemenuitem; enddialog; endpaint; errorout; exttextout; filetype; getclientrect; getdc; getdevicecaps; getdlgitemtext; getlasterror; getmessage; getmodulehandle; getparent; getstringres; getsubmenu; getsyscolor; getsystemmetrics; gettextmetrics; getwindowlong; getwindowtext; id; initializeapp; invalidaterect; iswindow; killtimer; loadcursor; loadicon; loadmenu; localalloc; localfree; locallock; localunlock; mainwndproc; makeintresource; mapfilename; mapview; mapviewoffile; messagebox; movewindow; openfilemapping; openmap; postquitmessage; registerclass; releasedc; rgb; selectobject; sendmessage; serverwndproc; setbkcolor; setbkmode; setfocus; settextcolor; settimer; setwindowlong; setwindowpos; setwindowtext; strncpy; systemparametersinfo; translatemessage; unreferenced_parameter; updatewindow; winmain; wsprintf