| | Is there a way to access the contents of the physical memory from an application . please give details about the corresponding functions and libraries or apis to be used. I need this for my personal project. |
|
|
CODE int *myPointer; This makes a new pointer titled myPointer that can only point to ints. then, to change the address that a pointer pointers to: CODE myPointer = myPointer + whatever; This adds whatever to the address number of myPointer. then, to access the data in the pointer: CODE data = *myPointer; This extracts the information from the memory location that myPointer is pointing to. If you're still confused, sorry I didn't explain it better. Also, there's heaps of information around on the web. Just search for "C++ pointers" or something and you'll find loads of simpler tutorials. Cheers.
Thanks switch,
Actually I want to access the entire physical memory and store it as a file, i am want to create a program like the hibernate functionality in windows XP. So please kindly help me. QUOTE(delivi @ Jan 29 2006, 06:45 AM) Thanks switch, Actually I want to access the entire physical memory and store it as a file, i am want to create a program like the hibernate functionality in windows XP. So please kindly help me. I don't think it is possible unless it is built into operating system. Any good OS (I don't even consider DOS a OS) will protect the memory access by bounding it within the allocated logical block. If you try to access memory which is not allocated to your program, it will be terminated by your os.
Similar Topics
Keywords : accessing physical memory needed project
I'm writing a didactic software that can store an undefined number of int in a dynamic list. I Hey, i'm a newbie at c++. Is there anyway to access the windows system files through a c++ Hey i looked into this and saw there were two methods: memory mapping and data_seg(built in memory The project leader has emailed me telling to post to C++ forums because they are planning to create Hi everyone, I'm working with stl maps, I seem to be experiencing a memory leak somewhere, the Looking for accessing, physical, memory, important, needed, project
|
|
![]() Accessing Physical Memory - Important needed for project |
| ADD REPLY / Got an Opinion! | Remove these ADs! | RAPID SEARCH! | Free Web Hosting | [X] |
|
Express your Opinions, Thoughts or Contribute more info. to help others. Ask your Doubts & Queries to get answers, So that "Together We can help others!" |
Register FREE for AD-FREE forum, Create your own topics, Ask Questions, track topics, setup subscriptions & notifications and Get a Free Website w/ Email and FTP. | 500MB Space *No Ads*, CPanel, FTP, PHP, MySQL, EMails - 100% FREE |
|