Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


C++ - WriteProcessMemory() in protected memory?

 
Post new topic   This topic is locked: you cannot edit posts or make replies.    Cheat Engine Forum Index -> General programming
View previous topic :: View next topic  
Author Message
DaviFN
Cheater
Reputation: 0

Joined: 23 Oct 2016
Posts: 32

PostPosted: Thu Oct 27, 2016 1:39 pm    Post subject: C++ - WriteProcessMemory() in protected memory? Reply with quote

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.
Back to top
View user's profile Send private message
atom0s
Moderator
Reputation: 198

Joined: 25 Jan 2006
Posts: 8517
Location: 127.0.0.1

PostPosted: Fri Oct 28, 2016 4:10 am    Post subject: Reply with quote

You do not need to keep making more topics for the same question(s).
Locking this and any future topics you make about this same topic.

_________________
- Retired.
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   This topic is locked: you cannot edit posts or make replies.    Cheat Engine Forum Index -> General programming All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
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


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites