Hello!
I thought I can define a shared memory in a dll with the following command
in the *.c file:
#pragma data_seg(".SHARDATA")
static HWND mainWindow = NULL;
static UINT message = 0;
#pragma data_seg()
#pragma comment(linker,"/SECTION:.SHARDATA,RWS")
but it has no effect :-(
in the linker options of the project stands following:
--no-export-all-symbols --add-stdcall-alias
what do I have to solve that problem?
THANKS for your help !!!!!
|