CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Join Date
    Apr 1999
    Posts
    11

    How to set up SetWindowsHookEx() to hook keyboard inputs?



    Hi,


    I have read that we can use SetWindowsHookEx to set a system-wide hook keyboard inputs. Is it only possible to set a system-wide hook by calling a function from the dll that we write? Can we do it without a dll? I have searched around for examples but none have been able to give me a clear picture on how to achieve this. Please help


    Raphael



  2. #2
    Join Date
    May 1999
    Posts
    30

    only DLL



    As far as I know, hook fuctions can oly be done in dlls. if you find a way to do it without a dll, let us know.


    if you need code to do this in a dll email me.

  3. #3
    Join Date
    May 1999
    Location
    WA
    Posts
    65

    Re: only DLL

    Could you possibly post some sample code on how to do this? That would be very helpful as I also need to implement this process, and I've never worked with hooks before. Thanks!



    - Troy

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