If you truly want to trap everything with no one knowing about it, I don't think you can do that. However, you can trap keystrokes by either inserting a keyboard filter device driver. You may be able to write a keyboard hook in a Win32 service, but I don?t know if Windows will properly inject it into each process. The device driver approach will work.
This was first published in June 2002