What’s the differences between VirtualAlloc and HeapAlloc?
Each API is for different uses. Each one also requires that you use the correct deallocation/freeing function when you’re done with the memory. VirtualAlloc A low-level, Windows API that provides lots of options, but is mainly useful for people in fairly specific situations. Can only allocate memory in (edit: not 4KB) larger chunks. There are … Read more