DaviFN Cheater
Reputation: 0
Joined: 23 Oct 2016 Posts: 32
|
Posted: Thu Oct 27, 2016 1:39 pm Post subject: C++ - WriteProcessMemory() in protected memory? |
|
|
Hello everyone!
I'm developing a small trainer in C++. I think the game has some kind of protection against WriteProcessMemory(), because it always returns error 5 (which stands for ACCESS_DENIED).
I wonder if there is a way to make it work.
More details:
I'm using Windows 7
WriteProcessMemory() always worked greatly for me, and it does work great in Windows XP (even with this game I'm developing a trainer for), but, in 7, it only works for a few processes
Cheat Engine also fails to open the game, except if I enable the Kernel Mode (I don't know much what this is though, is there a way to do it with C++?)
Thank you for your attention and for helping me solve this problem.
|
|