Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!elroy.jpl.nasa.gov!turnkey!orchard.la.locus.com!prodnet.la.locus.com!jta From: jta@locus.com (JT Anderson) Newsgroups: comp.windows.ms.programmer Subject: Re: How to best represent a list in Windows? Message-ID: <23422@oolong.la.locus.com> Date: 10 Apr 91 16:37:39 GMT References: <1991Apr5.205519.29757@sunee.waterloo.edu> <3714@polari.UUCP> Organization: Locus Computing Corp, Los Angeles Lines: 10 I have not tried this, but someone who needs to sub-allocate from a block of memory obtained by GlobalAlloc may want to investigate and report back. There are functions in MSC 6.0 for allocating from based heaps. These functions allow you to manage several heap segments. They may be just the ticket for managing a block of memory allocated by GlobalAlloc. Take a look at _heapadd, _bmalloc, _bfree, etc. You will probably need to cheat a little, and the run time library source might be quite helpful, but not necessary, in determining how these things work.