global keyboard hooks

This is a discussion on global keyboard hooks within the Windows Programming forums, part of the Platform Specific Boards category; can anyone tell me (or is there a site with a good tutorial on it) how to program a global ...

  1. #1
    Registered Trademark
    Join Date
    Apr 2005
    Posts
    19

    global keyboard hooks

    can anyone tell me (or is there a site with a good tutorial on it) how to program a global keyboard hook?
    pardon the double post. My browser didn't react quickly for DSL and i thought i didn't click the button properly

  2. #2
    Super Moderator
    Join Date
    Sep 2001
    Posts
    4,913
    6. Messages relating to cracking, (erroneously called "hacking" by many), copyright violations, or other illegal activities will be deleted.
    Keyloggers are almost always violations of privacy and are considered infringements of this.

    I noticed your recent thread about running applications in the background, and thought it a funny coincidence.

  3. #3
    Registered Trademark
    Join Date
    Apr 2005
    Posts
    19
    first of all, running programs in the background is something my spy sweeper can do (though, yes, I realize viruses can too). second of all, what is wrong with a simple keyboard hook? it may be global, but only on my computer. and if i was going to hack the internet I'd have used a language like assembly or some of microsoft's languages. i know this is win32, but come on, I'm trying to work a project here.
    pardon the double post. My browser didn't react quickly for DSL and i thought i didn't click the button properly

  4. #4
    Super Moderator
    Join Date
    Sep 2001
    Posts
    4,913
    I'm not stupid.

  5. #5
    Frequently Quite Prolix dwks's Avatar
    Join Date
    Apr 2005
    Location
    Canada
    Posts
    8,048
    what is wrong with a simple keyboard hook?
    Well, you could make the delete key launch a virus. Or something like that.
    dwk

    Seek and ye shall find. quaere et invenies.

    "Simplicity does not precede complexity, but follows it." -- Alan Perlis
    "Testing can only prove the presence of bugs, not their absence." -- Edsger Dijkstra
    "The only real mistake is the one from which we learn nothing." -- John Powell


    Other boards: DaniWeb, TPS
    Unofficial Wiki FAQ: cpwiki.sf.net

    My website: http://dwks.theprogrammingsite.com/
    Projects: codeform, xuni, atlantis, nort, etc.

  6. #6
    Registered Trademark
    Join Date
    Apr 2005
    Posts
    19
    and why the heck would i make a delete key launch a virus? I could simply make opening a process a virus launch.
    pardon the double post. My browser didn't react quickly for DSL and i thought i didn't click the button properly

  7. #7
    Super Moderator
    Join Date
    Sep 2001
    Posts
    4,913
    If you can get a keylogger running on someone's computer, you might as well just launch the virus yourself, wouldn't you say?

    Fender Bender - save us all a lot of trouble and just go away. Your excuses are insulting, seriously.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Identifying mouse used with Global mouse hooks
    By Chillance in forum Windows Programming
    Replies: 4
    Last Post: 02-15-2009, 07:42 AM
  2. Windows Hooks for global mouse detection
    By JJFMJR in forum Windows Programming
    Replies: 8
    Last Post: 08-12-2008, 08:04 AM
  3. C++ Global Keyboard Hook
    By darknite135 in forum C++ Programming
    Replies: 4
    Last Post: 02-01-2008, 06:36 PM
  4. Do I need to use Keyboard Hooks to solve my problem?
    By BenPage in forum C++ Programming
    Replies: 3
    Last Post: 07-16-2005, 10:10 AM
  5. Detecting Keyboard Hooks
    By KinoCode in forum Windows Programming
    Replies: 2
    Last Post: 01-17-2003, 10:24 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21