Thread: messages from other windows

  1. #1
    Registered User canine's Avatar
    Join Date
    Sep 2001

    messages from other windows

    how could I have one program monitor the user input of another
    In a perfect world every dog would have a home and every home would have a dog.
    Visit My Web Site, Canine Programming
    I use Win32 API

  2. #2
    train spotter
    Join Date
    Aug 2001
    near a computer
    Do a search for the treads on keyloggers.
    "Man alone suffers so excruciatingly in the world that he was compelled to invent laughter."
    Friedrich Nietzsche

    "I spent a lot of my money on booze, birds and fast cars......the rest I squandered."
    George Best

    "If you are going through hell....keep going."
    Winston Churchill

  3. #3
    &TH of undefined behavior Fordy's Avatar
    Join Date
    Aug 2001
    I just wrote a keylogger program this relays all keystrokes on one computer across a network to another computer......You can have a look at that for a few ideas.

    The technique to log keys is done with windows hooks.......but it gets complicated if you want to hook the whole need your hook process to be contained inside a dll.......also, you need a system to relay the information back to your main program....remember that simple file pointers, handles and the like shared globally in a dll will not work because you will be using them in another process's address space therefore they will be invalidated (this caused me no end of problems untill I figured it out)......To share information on this I used a windows Mailslot....

    Anyway, have a look if you want.. Go to my site (link below), click tutorials and look at "Remote Keyboard Hook"....there are still a few bugs on it, but it works ok.....

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Sending windows messages
    By Ideswa in forum Windows Programming
    Replies: 2
    Last Post: 03-02-2006, 01:27 PM
  2. Menu Item Caption - /a for right aligned Accelerator?
    By JasonD in forum Windows Programming
    Replies: 6
    Last Post: 06-25-2003, 11:14 AM
  3. Windows Rant followed by installation question
    By confuted in forum A Brief History of
    Replies: 12
    Last Post: 06-21-2003, 04:42 PM
  4. Codec Bitrates?
    By gvector1 in forum C# Programming
    Replies: 2
    Last Post: 06-16-2003, 08:39 AM
  5. Manipulating the Windows Clipboard
    By Johno in forum Windows Programming
    Replies: 2
    Last Post: 10-01-2002, 09:37 AM