Shareable Data Segment in Dll

Just starting out? Need help? Post your questions and find answers here.
Robin
New User
New User
Posts: 2
Joined: Fri Sep 19, 2003 9:35 am

Shareable Data Segment in Dll

Post by Robin »

Hi all,

I try writing a hook-dll but instead of using memory mapped files I wanted to share the data segment of the Dll.
For I havn't found any switch for doing so I thougt of using the /commented switch, adding "shareable" to the assembler code and then recompiling it. It failed, so I tried using inline assembly, but this didn' work either :?
So has anyone any idea on how to make the data segment of my dll shared, or is it impossible with purebasic ?

Thanks in advance