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