Hi,

I have found Three (3) ways to allocate dynamic memory. I am quit confused about which one I should use in my Win32 API app.

malloc.h - malloc() calloc() and more
I always use this one

windows.h - HeapCreate() Heap Alloc() and more
I dont know anything about these

windows.h - VirtualAlloc() and more
I think they are for large block memory allocation

If anyone can explain any safety/security issues between these, please help.

Thanks for any help