Click here to Skip to main content
16,012,166 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello everyone
i need to build a keylogger in c++ that picks a keystroke, so can anyone provide me some source (with easy and basic code), as i am a beginner in programming



Regards
Posted
Updated 9-Apr-18 8:58am
Comments
Joan M 17-Mar-11 14:13pm    
First of all the solution 1 seems perfect to me...

Anyway, try to improve the way you ask things in cases like this one... a keylogger is something that can be used in a malicious way so here a lot of people will react to this like John. It is normal. Usually explaining a little bit what you want to achieve will give you better and more concise answers.

Good luck with the keylogger (of course if it is not for malicious purposes)...
cYpH3r x3r0 15-Feb-12 4:57am    
wanted to use it in a positive way. built a parental control software, so that parents can keep eye on their children when they go to office and children use internet at home. Anyway i've figured that out. and the work is now done. thank you for your reply. HAHAH and sorry for my late response, i was away :). Good luck

Here is a few articles to get you started:
KeyBoard Hooks[^]
Trap Special characters in a C++ keyboard hook.[^]
Trap Special characters in a C++ keyboard hook.[^]

Best regards
Espen Harlinn
 
Share this answer
 
Comments
Yusuf 17-Mar-11 13:38pm    
Good Links
Espen Harlinn 17-Mar-11 14:55pm    
Thank you Yusuf!
Sergey Alexandrovich Kryukov 20-Mar-11 23:12pm    
Good references, a 5.
--SA
Why do you want to write a key-logger?

Did you consider using google? When I did, I got 975,000 results back. You can too. Google is free.
 
Share this answer
 
Comments
fjdiewornncalwe 17-Mar-11 13:49pm    
too hard, perhaps?
Sergey Alexandrovich Kryukov 20-Mar-11 23:12pm    
Ha-ha... :-)
--SA
Sergey Alexandrovich Kryukov 20-Mar-11 23:13pm    
"Did you consider using people" :-)
My 5.
--SA
cYpH3r x3r0 15-Feb-12 4:58am    
hahaha "people". sounds awesome :)
wanted to use it in a positive way. built a parental control software, so that parents can keep eye on their children when they go to office and children use internet at home. Anyway i've figured that out. and the work is now done. thank you for your reply Guys
 
Share this answer
 
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900