Sep 18, 2002 #1 ithic Programmer Sep 18, 2002 23 US I have a console program and also a DLL... in the DLL I have: Code: #pragma data_seg( ".shared" ) int g_cnt; #pragma data_seg() #pragma comment(linker, "/section:.shared,RWS") What do I need in the console program in order to access g_cnt?
I have a console program and also a DLL... in the DLL I have: Code: #pragma data_seg( ".shared" ) int g_cnt; #pragma data_seg() #pragma comment(linker, "/section:.shared,RWS") What do I need in the console program in order to access g_cnt?
Sep 18, 2002 Thread starter #2 ithic Programmer Sep 18, 2002 23 US Figured it out. Ignore this post. Upvote 0 Downvote