-
Re: VB6 - Memory Hacking.
Erm... I am facing a problem... The WriteProcessMemory Function is working properly but I am having problems with the ReadProcessMemory Function. It has an argument which needs a process, an address, The Buffer (my problem), size and bytes written.
Well, the problem is that the buffer is supposed to return the value stored in the given address. But problem with that is that I don't know the value of the buffer! (how am I supposed to anyway)
Can someone tell me what I can do about this?
-
Re: VB6 - Memory Hacking.
Chill... Figured out my problem!
If anyone else out there were facing that problem then look no further!
I have found the solution! Again
So, how to get the memory value?
Declare a variable something called buffer. Declare it as Long
Now in the ReadProcessMemory type this
ReadProcessMemory ProcessHere, AddressHere, buffer, 4, *I don't remember*
Now add long to ReadALong
i.e Public Function ReadALong(TheGame As String, TheAddress As Long, TheValue As Long) As Long '<= See the new Long
Now we just set ReadALong the value we found in the buffer variable
So, ReadAlong = buffer
That's it!
-
Re: VB6 - Memory Hacking.
Ah, glad you solved it. Sorry I wasn't around to help you out. Glad my tutorial helped you. Don't be shy to leave me a pm if you are still having trouble.
-
Senior Member
Re: VB6 - Memory Hacking.
woooooooow big bump, locked
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules