Results 1 to 6 of 6

Thread: KeyLogger Help

  1. #1

    Thread Starter
    Lively Member xxkmanxx's Avatar
    Join Date
    Jul 2002
    Location
    NJ
    Posts
    66

    KeyLogger Help

    i'd like to create a KeyLogger that saves to a file, the keystrokes and the program/window changes, that a user does. i wanted to know if there's a better way to do this than using a timer and the GetAsyncKeyState API, i dont think the timer is efficient. Like is there something that u can do, like each time a Keyboard event happens.

    THANKS

  2. #2
    Super Moderator manavo11's Avatar
    Join Date
    Nov 2002
    Location
    Around the corner from si_the_geek
    Posts
    7,171


    Has someone helped you? Then you can Rate their helpful post.

  3. #3

    Thread Starter
    Lively Member xxkmanxx's Avatar
    Join Date
    Jul 2002
    Location
    NJ
    Posts
    66
    i heard that i could use WMI to do this, but i dont know anything about wmi, so i guess im gonna try to learn that. anyone have tips on WMI for me, that would be great ?

    THANKS

  4. #4
    Frenzied Member MerrionComputin's Avatar
    Join Date
    Apr 2001
    Location
    Dublin, Ireland
    Posts
    1,616
    Use a WH_KEYBOARD_LL hook...
    ----8<---------------------------------------
    NEW - The .NET printer queue monitor component
    ----8<---------------------------------------
    Now with Examples of use

  5. #5

    Thread Starter
    Lively Member xxkmanxx's Avatar
    Join Date
    Jul 2002
    Location
    NJ
    Posts
    66
    thanks so i'll use that, but how do i use it? ive never done hooks before.

    [Public Const WH_KEYBOARD_LL = 13]

    do i use SendMessage() using WH_KEYBOARD_LL or with the WindowProc()? or how do i use it?

    THANKS

  6. #6

    Thread Starter
    Lively Member xxkmanxx's Avatar
    Join Date
    Jul 2002
    Location
    NJ
    Posts
    66
    i think i'm gonna use the EventVB Dll i saw in ur sig. its preety cool.

    THANKS

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