Click here to Skip to main content
15,881,588 members
Please Sign up or sign in to vote.
2.00/5 (1 vote)
See more:
I want to prepare a keyboard hook just to know how hooking works , I am using visual studio 2012 for this purpose.so can anyone tell me what files I will need to create and link with ?

Thanks in advance for your help , I appreciate it.
Posted
Comments
Sergey Alexandrovich Kryukov 23-Aug-14 1:58am    
Not clear. What files? what links with? This is not about files.
—SA

1 solution

Please see my comment to the question.

Everything is clearly explained here:
http://msdn.microsoft.com/en-us/library/windows/desktop/ms644959%28v=vs.85%29.aspx[^],
http://msdn.microsoft.com/en-us/library/windows/desktop/ms644990%28v=vs.85%29.aspx[^].

There are two types of "keyboard hooks":
http://msdn.microsoft.com/en-us/library/windows/desktop/ms644984%28v=vs.85%29.aspx[^],
http://msdn.microsoft.com/en-us/library/windows/desktop/ms644985%28v=vs.85%29.aspx[^].

I don't know what else to explain here; it's just about reading documentation and doing everything by definition. At the same time, I would like to warn you: using Hooks is really difficult for beginners; especially difficult is the debugging of code.

—SA
 
Share this answer
 
Comments
keyur chauhan 23-Aug-14 2:13am    
Thank you so much !!
Sergey Alexandrovich Kryukov 23-Aug-14 2:47am    
You are very welcome.
Good luck, call again.
—SA

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