Jump to content

Copy RAM to HDD: Beginner

- - - - -

This topic has been archived. This means that you cannot reply to this topic.
2 replies to this topic

#1
ChappyChaps11

ChappyChaps11

    Newbie

  • Members
  • Pip
  • 1 posts
I've taken 2 C++ classes years ago and I haven't really used it since, but I got an idea for some software I want to develop. My question is, are there any functions that can copy all contents of RAM to say a file on a hard disk?

I don't really know where to look and most of my searches came up with non-relevant information. I saw in MSDN2 a CopyMemory command in the API but I can't find information on whether it moves the locations in RAM or if I can use it to copy to locations on my hard disk.


Any information or resources would be greatly appreciated.

#2
WingedPanther

WingedPanther

    A spammer's worst nightmare

  • Moderators
  • 16,831 posts
In theory, yes, but in reality you are likely to run into problems with the operating system not allowing you access to areas of the memory.
Programming is a branch of mathematics.
My CodeCall Blog | My Personal Blog

#3
theGeekPirate

theGeekPirate

    Newbie

  • Members
  • PipPip
  • 11 posts
Isn't it possible for this to be made in assembly?

- theGeekPirate.