🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.windows.ms.programmer
Article #2032

Re: How to best represent a list in Windows?

#2032
From: JT Anderson
Date: Wed, 10 Apr 1991 16:37
10 lines
1089 bytes
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.
Technical Details
Message-ID: <23422@oolong.la.locus.com>
Path: arc1-ca.pugleaf.net!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
References: <e2BXZ1w163w@coyote.datalog.com> <1991Apr5.205519.29757@sunee.waterloo.edu> <3714@polari.UUCP>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!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: <e2BXZ1w163w@coyote.datalog.com> <1991Apr5.205519.29757@sunee.waterloo.edu> <3714@polari.UUCP>
Organization: Locus Computing Corp, Los Angeles
Lines: 10