🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #7289

Re: Shared Memory in a DLL (C++Builder 5.0)

#7289
From: Remy Lebeau (TeamB)
Date: Tue, 15 Feb 2005 18:14
12 lines
1192 bytes
"Mathieu" <kirck@enterprise.com> wrote in message
news:4211f77b@newsgroups.borland.com...

> Does anybody know how to share memory in a DLL with C++Builder 5.0 ?

BCB does not support shared segments. You need to allocate your own shared
memory manually via the Win32 API CreateFileMapping() and MapViewOfFile()
functions.


Gambit
Technical Details
Message-ID: <42123b34$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!newshub.sdsu.edu!logbridge.uoregon.edu!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail
References: <4211f77b@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,c45e9900a622f92
X-Google-Attributes: gid10cc67,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Remy Lebeau \(TeamB\)" <no.spam@no.spam.com>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <4211f77b@newsgroups.borland.com>
Subject: Re: Shared Memory in a DLL (C++Builder 5.0)
Date: Tue, 15 Feb 2005 10:14:42 -0800
Lines: 14
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1409
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409
NNTP-Posting-Host: 68.69.17.41
Message-ID: <42123b34$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1108491060 68.69.17.41 (15 Feb 2005 10:11:00 -0800)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!newshub.sdsu.edu!logbridge.uoregon.edu!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail