🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.windows.ms
Article #2139

Re: Data Segments for DLL's

#2139
From: Bill Turner
Date: Tue, 12 Dec 1989 18:19
13 lines
876 bytes
> Is it true that a DLL can have a heap (like for linked lists etc.)?

Yes.

> If so, does a DLL create a data segment for each instance of each program
> that calls the library?

No, there is only one instance of a DLL, and it can have at most one DS.
This is one way to share data between apps (and is how the clipboard works,
BTW) -- have routines that copy data into/out of the DLL's DS.

--Bill Turner (bturner@hp-pcd.hp.com)
HP Corvallis Information Systems
Technical Details
Message-ID: <106580076@hpcvlx.cv.hp.com>
Path: arc1-ca.pugleaf.net!utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!ucbvax!hplabs!hp-pcd!hpcvlx!bturner
References: <606@fred.UUCP>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!ucbvax!hplabs!hp-pcd!hpcvlx!bturner
From: bturner@hpcvlx.cv.hp.com (Bill Turner)
Newsgroups: comp.windows.ms
Subject: Re: Data Segments for DLL's
Message-ID: <106580076@hpcvlx.cv.hp.com>
Date: 12 Dec 89 18:19:51 GMT
References: <606@fred.UUCP>
Organization: Hewlett-Packard Co., Corvallis, OR, USA
Lines: 13