Keyboard hook

Please discuss general Delphi programming topics here.

Keyboard hook

Postby Zolan » January 5th, 2004, 2:09 pm

Hey.
I want to create a keybord recorder and i need to know how to create a keyboard hook.
I havent found eny good sites to read about this and i am turning to you for help.
Thanks!!
//Zolan
Zolan
Active Member
Active Member
 
Posts: 12
Joined: October 5th, 2003, 2:58 pm

Postby Kambiz » January 7th, 2004, 6:24 pm

You should write your hook inside a DLL. I think once I've seen a sample in http://www.experts-exchange.com.
User avatar
Kambiz
Administrator
Administrator
 
Posts: 2421
Joined: March 7th, 2003, 7:10 pm

Postby KiteK » January 12th, 2004, 4:24 pm

Hi! For make a hook, use SetWindowsHookEx. For more informations, use Delphi Help (SetWindowsHookEx + F1 :D ).
KiteK
Active Member
Active Member
 
Posts: 6
Joined: November 27th, 2003, 4:05 pm

Thaks!

Postby Zolan » January 17th, 2004, 8:41 pm

Thanks , i am very grateful!
Zolan
Active Member
Active Member
 
Posts: 12
Joined: October 5th, 2003, 2:58 pm


Return to Delphi Programming

Who is online

Users browsing this forum: No registered users and 3 guests

cron