CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 10 of 10

Threaded View

  1. #6
    Join Date
    Mar 2004
    Location
    33°11'18.10"N 96°45'20.28"W
    Posts
    1,808

    Re: Client monitoring - Keylogging problem

    don't mind them. they write bug free code and break rose smelling wind.

    here's an article on the matter. hopefully it gives you some info that can help you solve your all-too-common issue. http://www.codeproject.com/KB/system...ystemhook.aspx


    If your key watcher is used only within your local application, you can simply use an IMessageFilter object and add it to the Application context, and it will preview all the win32 message before they get dispatched to your application. you could do the hooking there. here's an example of that: http://www.codeguru.com/forum/showpo...64&postcount=3 that example is for a particular key being pressed, but you could just watch and notify on all key presses instead of doing something for just a single key.
    Last edited by MadHatter; May 12th, 2009 at 07:10 PM.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured