   Windows Memory
  I was going through MSDN on the subjects of memory management, how it is layed out and how to control it. I understood it all fine but one thing confuses me, Heaps. Does the Heap system go in parallel to Virtual Memory or do they overlap? Is it possible that memory pages will be defined without a heap? Or are they forced into a new one? Basically, If I'm enumerating all the heaps owned by the process am I also enumerating all the pages?Thanks,TheShau   
  The heap system is built on top of the virtual memory system. Using the virtual memory system directly (eg VirtualAlloc), you can only allocate whole pages. The heap system allows you to allocate smaller areas, and it calls VirtualAlloc to get the memory used to build those areas.   ;  Thanks . :)By the way I just noticed I posted in the game prg' forum when I intended to publish in the general prg' forum, sorry... no harm done.   