Link to home
Start Free TrialLog in
Avatar of malkya
malkya

asked on

about reading keys

hi all
 
   my Question about reading keys has pressed in windows
   not in delphi form only , in other words i want to
   make LogFile about any keys has pressed , i hope my
   Question is clear .....!  
Avatar of Cesario Lababidi
Cesario Lababidi
Flag of Germany image

hello malkya,

All whant you need is a global keyhook.

you can download this component:

System Wide Keyboard Hook v.1.1
http://www.torry.net/vcl/system/keys/fngb2202.exe
(with Source)

If you whant to know more about hook programming:

Delphi Hooks Tutorial
http://www.gajits.com/delphihooks.asp


good luck

Cesario
ASKER CERTIFIED SOLUTION
Avatar of Cesario Lababidi
Cesario Lababidi
Flag of Germany image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
hi malkya, that's a question thats been asked here at EE several times, Here's a page at EE that I answered about a Key Hook . . .

https://www.experts-exchange.com/questions/20347433/Translate-Key-Code-message-lparam.html


you might also do a search here at EE for WH_KEYBOARD
Something else, If you just want to Get the keyboard keys pressed an NOT block or change the key pressed, then you could use a Journal hook, which does Not need to run in a .DLL library. It can be set in your program and get all Keyboard activity.
Avatar of malkya
malkya

ASKER



hi cesario
 it's average because some trouble has occured but no problem It's OK