i am trying to make a very simple keylogger using the GetAsyncKeystate
and i am adding the sleep function to reduce cpu usage ,however when i add
Sleep (1); it doesnt seem to pick up the keystrokes properly
for example , if i run the exe and type "yahoo.com"
the .txt file will only have recorded like "hoo" or "ya"
can someone please explain me how to fix it ,if there is any solution
If you remove the Sleep statement does the code execute properly? Could you post the code that contains the issue?