HOOK.ZIP contains a Delphi sample of using Win32 keyboard hooks and
memory mapped files:

hook.dpr     - main executable to set the keyboard hook
keyhook.dpr  - dynamic library containing system callback procedure
strutils.pas - some useful string utilities library
numbers      - sample database containing "magic" numbers

The purpose of program is catching some "magic" numbers entered from
keyboard and displaying them with toggled words in popup window.
To see how it works just compile both projects and run hook.exe with
parameter which is the filename of database containing "magic" numbers.

Any comments or suggestions will be greatly appreciated.


Almaz Sharipov

almaz@vlab.hypermart.net
http://vlab.hypermart.net
