DLL shared data segment problems
C / C++ / MFC
1
Posts
1
Posters
0
Views
1
Watching
-
Hi, I have set up a shared data segment in a DLL which works fine in XP and 2000 but when I take it over to WinME then it does not work, I can set the value but other processes that load the DLL still have the value set to NULL. Here is the segment [code] #pragma data_seg(".shared") HANDLE hProcess = NULL; HWND hWndService = NULL; #pragma data_seg() #pragma comment(linker,"/SECTION:.shared,RWS") [/code] Any Ideas? Ceri