🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

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

#7291
From: Torsten Franz
Date: Wed, 16 Feb 2005 09:21
16 lines
1438 bytes
Hi

> Then, I have found that for C++Builder4.0 the right method is to use  
> #pragma like this :
> #pragma option -zRSHSEG      // change default data segment name
> #pragma option -zTSHCLASS    // change default data class name
> int MyInt;
>
> But the two methods don't work in C++Builder 5.0.

The two '#pragma option' work for me in a bpl project
(compiled with BCB5 Enterprise)
The bpl is shared with multiple applications, BCB apps, VC apps, ...

Ciao
Torsten
Technical Details
Message-ID: <opsl99lwiom9ov9c@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!newsfeed.kamp.net!news-out.newsgroups.com!propagator2-sterling.newsfeeds.com!news-in.newsfeeds.com!in.nntp.be!caladan.landsraad.net!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
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: Re: Shared Memory in a DLL (C++Builder 5.0)
References: <4211f77b@newsgroups.borland.com>
Message-ID: <opsl99lwiom9ov9c@newsgroups.borland.com>
Date: Wed, 16 Feb 2005 10:21:22 +0100
From: "Torsten Franz" <FirstName_LastNameatagilentdottcom>
Content-Type: text/plain; format=flowed; delsp=yes; charset=iso-8859-15
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
User-Agent: Opera M2/7.54 (Win32, build 3865)
NNTP-Posting-Host: 192.25.19.11
X-Trace: newsgroups.borland.com 1108545682 192.25.19.11 (16 Feb 2005 01:21:22 -0800)
Lines: 16
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!newsfeed.kamp.net!news-out.newsgroups.com!propagator2-sterling.newsfeeds.com!news-in.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail