There is a memory varibale for a game that I would like to edit while the game is running. What VB code can I use to do so?
Printable View
There is a memory varibale for a game that I would like to edit while the game is running. What VB code can I use to do so?
You can't. Only code running in the same process as the game (i.e. DLLs loaded by it) can alter its memory. Any attempt to alter the memory from another process will result in a protection fault.
How come HEX Editors can do it?
Hex editors run on static files...i.e just editing the executable.
There are tools to edit running files, but they require debug system drivers, which you cannot write in VB as far as I know....
HTH,
Duncan