Article View: comp.windows.ms.programmer
Article #619Linked list in Windows
From: Ashok P. Nadkarni
Date: Sun, 11 Nov 1990 19:22
Date: Sun, 11 Nov 1990 19:22
14 lines
1033 bytes
1033 bytes
I am porting an application to Windows 3.0 that makes extensive use of linked lists. Storage needs are sufficiently large that I have to use global memory. I know just enough about Windows programming that I realize it is Bad Thing to leave memory locked. However, unlocking means that all the links pointing to the prev/next list elements are garbage every time Windows moves memory around. Is there a solution to this problem? I was hoping to avoid using a different type of 'collection' data structure as that would involve considerable rewriting. Thanks for any answers, /Ashok
Technical Details
Message-ID:
<17167@shlump.nac.dec.com>Path:
arc1-ca.pugleaf.net!utzoo!attcan!uunet!zaphod.mps.ohio-state.edu!mips!decwrl!bacchus.pa.dec.com!rust.zso.dec.com!shlump.nac.dec.com!ashok.dec.com!nadkarniShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!zaphod.mps.ohio-state.edu!mips!decwrl!bacchus.pa.dec.com!rust.zso.dec.com!shlump.nac.dec.com!ashok.dec.com!nadkarni From: nadkarni@ashok.dec.com (Ashok P. Nadkarni) Newsgroups: comp.windows.ms.programmer Subject: Linked list in Windows Message-ID: <17167@shlump.nac.dec.com> Date: 11 Nov 90 19:22:26 GMT Sender: newsdaemon@shlump.nac.dec.com Organization: Digital Equipment Corporation Lines: 14