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 


Cheat Engine 6.5 causes GetAsyncKeyState to return 0

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General Discussions -> Guests
View previous topic :: View next topic  
Author Message
Guest






PostPosted: Mon Mar 20, 2017 11:45 am    Post subject: Cheat Engine 6.5 causes GetAsyncKeyState to return 0 Reply with quote

Cheat Engine 6.5 causes GetAsyncKeyState to always return 0 in my hack programs (written in C and masm (Microsoft Macro Assembly)) while I have the focus on one of the Cheat Engine windows. Why?

I wrote tiny program in masm that waits for the user to press Ctrl+C (using GetAsyncKeyState) to open the clipboard and copy it's data and information to some local variables on stack and some global variables on data segment/section, but I press Ctrl+C when my focus is on one the Cheat Engine windows with the title "Changed Addresses". The program is not working as expected, because I realize that GetAsyncKeyState always returns 0 when my focus is on one of the Cheat Engine windows. This is not good. I want GetAsyncKeyState to work always properly, no matter in what state my computer and the operating system is at.

What solution exists to this annoying problem? I have no idea. I need help and advice.

Best Regards and Thanks in advance
Back to top
Dark Byte
Site Admin
Reputation: 341

Joined: 09 May 2003
Posts: 19983
Location: The netherlands

PostPosted: Mon Mar 20, 2017 11:54 am    Post subject: Reply with quote

you need to run your tool as an administrator
_________________
Do not ask me about online cheats. I don't know any and wont help finding them.
Back to top
View user's profile Send private message MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> General Discussions -> Guests All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can 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