Re: SysFreeString - Is the memory mine to use as I please ?
- From: "R.Wieser" <address@xxxxxxxxxxxxx>
- Date: Fri, 22 Dec 2006 12:56:02 +0100
<news@xxxxxxxxxxxxxxx> schreef in berichtnieuws
1166780706.515770.17090@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Hello Richard,
R.Wieser wrote:more.
Ahhh ... That means I will have to study those Heap* functions a bit
I don't think you need to get too hung up over using GlobalAlloc and
GlobalFree. The docs say "The global functions are slower than other
memory management functions and do not provide as many features.
Therefore, new applications should use the heap functions. However, the
global functions are still used with DDE, the clipboard functions, and
OLE data objects".
Thank you for your vision on it. I pretty-much decided the same for
myself, although I did wonder about wen those global (or local) memory
functions would really be deprecated.
Although ... It makes me remember the old DOS file-functions (using FCB's) :
they where marked "obsolete" as far back as v3.3, but you can still find
them back in many a Windows version :-)
One question I do have : I took a look at those Heap allocation functions,
and could not help but notice that I allways had to make two calls : one to
get a heap-pointer, and one to actually allocate the memory. What I'm
wondering is if it is possible to tell that last function somehow to use the
default heap (by, for instance, setting the heap-pointer argument to Zero) ?
Regards,
Rudy Wieser
.
- References:
- Re: SysFreeString - Is the memory mine to use as I please ?
- From: news@xxxxxxxxxxxxxxx
- Re: SysFreeString - Is the memory mine to use as I please ?
- Prev by Date: Re: SysFreeString - Is the memory mine to use as I please ?
- Next by Date: How to handle 32 GB+ drives on a Win98 system
- Previous by thread: Re: SysFreeString - Is the memory mine to use as I please ?
- Next by thread: How to handle 32 GB+ drives on a Win98 system
- Index(es):
Relevant Pages
|