Hotkeys[C++]

Posts 1–7 of 7 · Page 1 of 1
Hotkeys[C++]
I am wondering if anyone knows to use hotkeys now that they put a driver to block them?
I have an idea for a useful tool

>I am not going to leech, I can code c++
You will be in the credits if you can help me...
do it like that
this only an example
Code:
for (;;)
 {
	 __asm pushad;
bool stw = 0;
// another hotkey method
//if(GetAsyncKeyState(VK_F3)&1) { stw = true; Beep(1000,500); }
if(GetAsyncKeyState(VK_F3)&1) {
		 Beep(1000,500);
			stw = !stw;
		}
// put stw code here ... etc..
	__asm popad;
 
 }
Quote Originally Posted by Trader_6939 View Post
do it like that
this only an example
Code:
for (;;)
 {
	 __asm pushad;
bool stw = 0;
if(GetAsyncKeyState(VK_F3)&1) {
		 Beep(1000,500);
			stw = !stw;
		}
// put stw code here ... etc..
	__asm popad;
 
 }
Aren't GetAsyncKeyState patched?
Quote Originally Posted by Gab View Post


Aren't GetAsyncKeyState patched?
nope !
working perfect on all cross fire versions
i had my own base .. idk try it
but it work for me !
The _pushad and the _popad are pointless. Why would you be pushing all the registers on the stack then restoring them if you aren't editing the actual memory op codes? The answer is that you shouldn't.
no they are not blocked as i use them in my menu

---------- Post added at 05:47 AM ---------- Previous post was at 05:46 AM ----------

Quote Originally Posted by 258456 View Post
The _pushad and the _popad are pointless. Why would you be pushing all the registers on the stack then restoring them if you aren't editing the actual memory op codes? The answer is that you shouldn't.
you will be surprised of other pointless ideas here ^^
cf is terminating my thread so i hooked TerminateThread XD works fine ... used a e9 hook (=
Posts 1–7 of 7 · Page 1 of 1

Post a Reply

Similar Threads

Tags for this Thread

None

Talk with us