Original Post
Hi, i moved from vc to devcpp, and have a little problem to port one of my old projects. The problem is that this project uses a dll with a shared section in it. Under vc, it was as simple as adding a few pragmas to get the shared section working, like this : // variables shared across all instances of the dll #pragma data_seg("SHARED") #pragma comment (linker, "/SECTION:SHARED,RWS") HHOOK HookHandle = 0; int DllLoadCount = 0; char ExecutionPath[257] = ""; #pragma data_seg() Now, these pragmas don't seem to work with devcpp. The devcpp documentation i have is pretty poor. I also tried google, but it looks like i got a lot unrelated answers.. Would be nice if someone could point me in the right direction. Cheers, thanks.