koorb wrote:Interesting and something tells me that Windows would be a lot more stable if everybody moved to managed code.
HLOCAL hMem = HeapAlloc(GetProcessHeap(),HEAP_ZERO_MEMORY, HUGE_SIZE);
...
HeapFree(GetProcessHeap(), 0, hMem);this way is faster than managed code MUCH, and never be wrong.
Manip wrote:Three things wrong with that1. What does it have to do with this topic? 2. Is Windows unstable? 3. If your cheap hardware is making Windows unstable how would managed code help that?