Click here to Skip to main content
15,887,683 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
hi to all
how to acquisition(capture) physical memory in c or c++?
from offset 0 to n?
Posted

1 solution

Probably, you can't - the operating system won't let you near the "real" memory except in very simple systems. For anything complex it provides you with a virtual address space and also only give you access to some of the memory - that associated with your thread.

What are you trying to do that you think you need this?
 
Share this answer
 
Comments
Member 10946548 9-Aug-14 7:13am    
thank you for your solution.
i study a lot of sources in c++ or c in this about within internet but nothing was about physical memory and all o them instruct in virtual memory. do i develop it in assembly language or do you know any way???
OriginalGriff 9-Aug-14 7:20am    
What are you trying to do?

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900