|
-
September 6th, 1999, 08:20 AM
#1
Export symbols
I have made a dll that will be used from different clients and I want my dll to export data that will be shared among clients.
I have declared in my .cpp file the data I want to export in the form of:
#pragma data_seg(".MYSEG")
long lVar1 = 0;
long lVar2 = 0;
#pragma data_seg()
and in my .def file
SECTIONS
.MYSEG READ WRITE SHARED
All that seems file and it works perfect.
But what if I want to share a CDataSource object or a CMap object? I can't seem to find the solution.
Thanks in advance to anyone who replays.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|