🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: how can I share a dynamic list of objects in a dll

#4632
From: Alan Bellingham
Date: Wed, 04 Jan 2006 10:28
14 lines
1659 bytes
David L <david.luu@exane.com> wrote:

>so I just wandered if sharing datas in memory into a common dll on 
>workstation2 would be a solution which needs only 1Go of RAM ???

Not if you're trying to share that data between processes, no. When two
executables both load the same DLL, the two copies of the DLL don't
access the same data segment.

(Life was different with Windows 3.)

Alan Bellingham
-- 
ACCU Conference 2006 - 19-22 April, Randolph Hotel, Oxford, UK
Technical Details
Message-ID: <3m8nr11i1oj280k3v8o4lbtet75ooalrnv@4ax.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!nx01.iad01.newshosting.com!newshosting.com!news-out.newsfeeds.com!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail
References: <XnF97407D8CF14A9davidluuexanecom@207.105.83.66> <43ba6aca$1@newsgroups.borland.com> <9gskr1hcp9nhqo7f90pk3jondu02jvss0s@4ax.com> <43ba763b$1@newsgroups.borland.com> <XnF97415CA841218davidluuexanecom@207.105.83.66>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,214e5f2a6f9443ae
X-Google-Attributes: gid10cc67,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: Alan Bellingham <alanb@episys.com>
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: Re: how can I share a dynamic list of objects in a dll
Date: Wed, 04 Jan 2006 10:28:43 +0000
Reply-To: alanb@episys.com
Message-ID: <3m8nr11i1oj280k3v8o4lbtet75ooalrnv@4ax.com>
References: <XnF97407D8CF14A9davidluuexanecom@207.105.83.66> <43ba6aca$1@newsgroups.borland.com> <9gskr1hcp9nhqo7f90pk3jondu02jvss0s@4ax.com> <43ba763b$1@newsgroups.borland.com> <XnF97415CA841218davidluuexanecom@207.105.83.66>
X-Newsreader: Forte Agent 3.1/32.783
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 193.129.251.253
X-Trace: newsgroups.borland.com 1136370395 193.129.251.253 (4 Jan 2006 02:26:35 -0700)
Lines: 14
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!nx01.iad01.newshosting.com!newshosting.com!news-out.newsfeeds.com!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail