Posted: Fri Jul 29, 2011 2:39 am Post subject: Yet another ReadProcessMemory thread
I need a lot of time to write relatively simple code because I'm a noob and have small experience in coding.
This can also be because my motivation is not the learning but to write a great useful program and forget coding until I have another goal. I'm not doing a simple program but a program that I will actually use as a configurable trainer.
I have 5 string variables that my program reads in succesfully from a text file:
Code:
WINDOWNAME "title of the window"
ADDRESS "0x12345678" ORIGINAL "00 55 ff" CHANGED "00 44 ff" HOTKEY "ctrl + g"
ADDRESS...(loop until run out of patch lines)
because of string WINDOWNAME I could do FindWindow(), GetWindowThreadProcessId(), and OpenProcess() with PROCESS_ALL_ACCESS all successfully. And I'm now stuck at ReadProcessMemory(). For half a year now!!! Can somebody push me to the right direction? At ADDRESS it should read a variable number of bytes(in this case 3) and compare it to the string ORIGINAL which was read from the config.txt(in this case 00 55 ff) and it has to match at given address. How do I go about converting the string ADDRESS and string ORIGINAL to make it work for ReadProcessMemory? I forgot to mention that string ORIGINAL is stored without spaces(0055ff) actually. Any help would be amazing, thanks!
Joined: 25 Jan 2006 Posts: 8588 Location: 127.0.0.1
Posted: Fri Jul 29, 2011 12:19 pm Post subject:
Quote:
This can also be because my motivation is not the learning but to write a great useful program and forget coding until I have another goal.
This is going to cause you to get no help from anyone here probably. We are not interested in spoonfeeding people. If you have no interest to learn, then why bother? _________________
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum