Article View: borland.public.cppbuilder.nativeapi
Article #14294Re: How to use more than one shared-memory-blocks inside a dll?
From: Dennis Jones
Date: Wed, 20 Aug 2003 18:43
Date: Wed, 20 Aug 2003 18:43
19 lines
1672 bytes
1672 bytes
"Remy Lebeau (TeamB)" <gambit47@yahoo.com> wrote in message news:3f432e45$3@newsgroups.borland.com... > > <M_R> wrote in message news:1e76kvs3dii9cjg74pbhppfukh7m6vserh@4ax.com... > > How to use more than one shared-memory-blocks inside a dll? > > When calling CreateFileMapping(), simply make sure that you are specifying a > unique value for the lpName parameter for each individual DLL. > > > #pragma option -zRSHARESEG_##_DLL_PROJECT_NAME > > #pragma option -zTSHARECLS_##_DLL_PROJECT_NAME > Interesting. Where is "pragma option -z" documented? I cannot find it in the BCB5 help. Is it new to BCB6? - Dennis
Technical Details
Message-ID:
<3f43c16e$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-09!supernews.com!newsfeed.news2me.com!newsfeed.freenet.de!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<1e76kvs3dii9cjg74pbhppfukh7m6vserh@4ax.com> <3f432e45$3@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10cc67,51ab868baa5f5d8e X-Google-Attributes: gid10cc67,public X-Google-ArrivalTime: 2003-08-20 12:11:27 PST From: "Dennis Jones" <djones@nospam.com> Newsgroups: borland.public.cppbuilder.nativeapi References: <1e76kvs3dii9cjg74pbhppfukh7m6vserh@4ax.com> <3f432e45$3@newsgroups.borland.com> Subject: Re: How to use more than one shared-memory-blocks inside a dll? Date: Wed, 20 Aug 2003 11:43:58 -0700 Lines: 21 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 NNTP-Posting-Host: 204.200.27.7 Message-ID: <3f43c16e$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1061405038 204.200.27.7 (20 Aug 2003 11:43:58 -0700) Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-09!supernews.com!newsfeed.news2me.com!newsfeed.freenet.de!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail