1. Re: HeapAlloc()

> Wolf,
> I'm using this in win32lib. That means that every acquire_mem() call will
> return a pointer to zeroed memory. There is no need for a mem_set() call
> unless you are clearing memory that you have already used after an
> acquire_mem() call.
>
> Are you suggesting that I should not be using HEAP_ZERO_MEMORY?

Not at all.
... you were using HEAP_ZERO_MEMORY, as well as mem_set(), to zero it
*again*, in every acquire_mem() ?

new topic     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu