It returns 0 if the function fails and a non zero if it succeeds.
The function is used to read memory. Use WriteProcessMemory to write to memory.
1)if i use the Read memory (something) ' what is the outout of this function ? and how do i use it ? , in wrriting it , should i write for it what adress to read ? , couse if i do ' how i should i know what adress should i write ?
2) how can i make a FLASH games hacks by c++ ?
Hell_Demon: Please refrain from using tons of smilies at the end of your posts.
Last edited by Hell_Demon; 06-23-2010 at 07:05 AM. Reason: smilies removed
If you wanna see how to make a someone dumb press here
It returns 0 if the function fails and a non zero if it succeeds.
The function is used to read memory. Use WriteProcessMemory to write to memory.
thekm1994 (06-23-2010)
Write to memory means , to change the value of the adrress right ?
can it be use (c++) to hack any flash game ?
If you wanna see how to make a someone dumb press here
1. This question makes no sense at all ^^
For reading:
hProcess is the process handle that you get by using OpenProcess.
lpBaseAddress is the addy you want to read from
cast it to LPVOID: (void*)0xB4DF00D
lpBuffer is a pointer to the buffer you want to read into.
char mybuffer[32]; //now use &mybuffer in ReadProcessMemory.
nSize is the number of bytes you want to read, if you use the mybuffer from above you'd fill in 32 here.
lpNumberOfBytesRead is a pointer to an integer, just pass null for this, you don't really need it.
For writing:
the exact same as above, but instead of reading into the buffer you write the buffer into the memory, so make sure you give it a value ^^.
char mybuffer[5] = "\x90\x90\x90\x90\x90";
2. Yes, but it's 10x harder to do then with C# or VB.
Ah we-a blaze the fyah, make it bun dem!
thekm1994 (06-23-2010)
Can you give an example of it ? witj game and code ?
If you wanna see how to make a someone dumb press here
thekm1994 (06-23-2010)
i would download the game if its need
If you wanna see how to make a someone dumb press here
Go here: https://www.mpgh.net/forum/31-c-c/149...ml#post2008173
Good example of WriteProcessMemory.
thekm1994 (06-23-2010)
So , does its cnage the valuse of the adress ! (right ? i m not sure yet XD)
If you wanna see how to make a someone dumb press here
Last edited by Lolland; 06-23-2010 at 12:57 PM.
Hell_Demon (06-23-2010),thekm1994 (06-23-2010)