Answer the question
In order to leave comments, you need to log in
How to show LPVOID content?
Good afternoon!
It seems like after the reservation it should be initialized with zeros. The address itself is not a problem to show, but how to show the contents?
LPVOID lpVirtualAddress;
lpVirtualAddress = VirtualAlloc(NULL,pageSize,MEM_COMMIT,PAGE_READWRITE);
cout << "Virtual memory address: " << lpVirtualAddress<< endl;
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question