Problems with VirtualAlloc/Lock