1. Re: HeapAlloc()
- Posted by Wolf <wolfritz at KING.IGS.NET> Feb 24, 2003
- 410 views
> 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() ?