Path: 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 > 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