C++, DLL, shared memory using pragma without touching .DEF file


/ Published in: C++
Save to your folder(s)

myShared is an arbitrary name. It must not collide with names .bss etc (see /SECTION in MSDN).

RWS indicates Read/Write/Shared. (See /SECTION in MSDN)

Avoid sharing process-specific info such as pointers, HANDLEs etc.

Won't work with Vista Services.

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.