On 09/02/06, Stefan Dösinger <stefandoesinger at gmx.at> wrote: > What is the relevant difference between HeapAlloc and VirtualAlloc? I've read > the msdn pages, and I couldn't find anything that would make a crucial > difference for a bitmap. VirtualAlloc allocates / reserves entire pages. 0x7dfa0000 is probably the base address of the page for 0x7dfa0020.