Article View: borland.public.cppbuilder.nativeapi
Article #16386Re: Shared memory question
From: Remy Lebeau (TeamB)
Date: Wed, 14 May 2003 16:38
Date: Wed, 14 May 2003 16:38
15 lines
1479 bytes
1479 bytes
"MWP" <mwp@overclockers.com.au> wrote in message news:3ec201ad$1@newsgroups.borland.com... > Is there a way to share the memory, but to make > it read-only to other processes? The other processes would have to explitically specify PAGE_READONLY and FILE_MAP_READ instead of PAGE_READWRITE and FILE_MAP_ALL_ACCESS. Although the underlying memory block is being shared, each process creates its own unique acces to it. You have no control over the other processes (unless you're writting them yourself). You can only control your own process. Gambit
Technical Details
Message-ID:
<3ec2709a@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!sn-xit-01!sn-xit-09!supernews.com!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mailReferences:
<3ec201ad$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10cc67,e0ac8188bda6f9e X-Google-Attributes: gid10cc67,public X-Google-ArrivalTime: 2003-05-14 09:40:57 PST From: "Remy Lebeau \(TeamB\)" <gambit47@yahoo.com> Newsgroups: borland.public.cppbuilder.nativeapi References: <3ec201ad$1@newsgroups.borland.com> Subject: Re: Shared memory question Date: Wed, 14 May 2003 09:38:50 -0700 Lines: 17 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: 207.175.226.26 Message-ID: <3ec2709a@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1052930202 207.175.226.26 (14 May 2003 09:36:42 -0700) Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!sn-xit-01!sn-xit-09!supernews.com!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail