Article View: borland.public.cppbuilder.nativeapi
Article #14286Re: How to use more than one shared-memory-blocks inside a dll?
From: Remy Lebeau (TeamB)
Date: Wed, 20 Aug 2003 07:22
Date: Wed, 20 Aug 2003 07:22
21 lines
1761 bytes
1761 bytes
<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 Do not use #pragma option for setting up the memory if you are using CreateFileMapping() instead. Gambit --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.510 / Virus Database: 307 - Release Date: 8/14/03
Technical Details
Message-ID:
<3f432e45$3@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-08!supernews.com!pln-e!extra.newsguy.com!lotsanews.com!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!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>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 01:39:57 PST From: "Remy Lebeau \(TeamB\)" <gambit47@yahoo.com> Newsgroups: borland.public.cppbuilder.nativeapi References: <1e76kvs3dii9cjg74pbhppfukh7m6vserh@4ax.com> Subject: Re: How to use more than one shared-memory-blocks inside a dll? Date: Wed, 20 Aug 2003 00:22:54 -0700 Lines: 23 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.1106 NNTP-Posting-Host: 207.175.226.26 Message-ID: <3f432e45$3@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1061367365 207.175.226.26 (20 Aug 2003 01:16:05 -0700) Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-08!supernews.com!pln-e!extra.newsguy.com!lotsanews.com!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.freenet.de!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail