Re: Why exception is generated at location 0x0000000???



Anand Choubey wrote:

Hi

Please tell me that which addresses are not mapped on vitrual memory and why???

You have to ask the other way around, which adresses _are_ mapped into virtual memory space and why. The answer is that the exe file and dll files are loaded into some addresses and allocation heaps are created at some other addresses. It is also possible to directly reserve or allocate virtual memory space directly using VirtualAlloc().

All other (unused) addresses in the virtual memory space of the process are invalid and cannot be used.

--
Olof Lagerkvist
ICQ: 724451
Web: http://here.is/olof

.