Quantcast
Channel: Programming Forums
Viewing all articles
Browse latest Browse all 51036

ReadProcessMemory()

$
0
0
Hello, I've wanted to read another programs variables by using their memory address. In a tutorial I read it only demonstrated how to read a programs memory by creating an unsigned int with the address value. Like:
DWORD Test = 0x72G7H...
How would I create the variable earlier on
DWORD Test
without assigning a value to it, then later asking the user to input what Test should contain. Although integers will not hold letters when entered. How can I do this?
Oh, and what I'm using looks like this:
ReadProcessMemory(phandle,(void*)address,&value,sizeof(value),0)

Viewing all articles
Browse latest Browse all 51036

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>