Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. Spy++ - like app

Spy++ - like app

Scheduled Pinned Locked Moved C / C++ / MFC
question
6 Posts 6 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • U Offline
    U Offline
    User 402019
    wrote on last edited by
    #1

    Hey All, I am in need of some function or library that will allow me to intercept (or spy on) messages in a third-party application (essentially any application) similar to Spy++. I noticed an application posted here called InterSpy, but it uses hooks and you need to add code to your application to spy on messages. Spy++ obviously doesn't require this since you can spy on any application. Does anyone know how Spy++ works? Tom

    J J N R 4 Replies Last reply
    0
    • U User 402019

      Hey All, I am in need of some function or library that will allow me to intercept (or spy on) messages in a third-party application (essentially any application) similar to Spy++. I noticed an application posted here called InterSpy, but it uses hooks and you need to add code to your application to spy on messages. Spy++ obviously doesn't require this since you can spy on any application. Does anyone know how Spy++ works? Tom

      J Offline
      J Offline
      Joaquin M Lopez Munoz
      wrote on last edited by
      #2

      I think global hooks can be used without injecting any code into the target application. SetWindowsHookEx with dwThreadId set to 0 seems to watch on every thread within the desktop, from what the docs say. Joaquín M López Muñoz Telefónica, Investigación y Desarrollo

      B 1 Reply Last reply
      0
      • U User 402019

        Hey All, I am in need of some function or library that will allow me to intercept (or spy on) messages in a third-party application (essentially any application) similar to Spy++. I noticed an application posted here called InterSpy, but it uses hooks and you need to add code to your application to spy on messages. Spy++ obviously doesn't require this since you can spy on any application. Does anyone know how Spy++ works? Tom

        J Offline
        J Offline
        Jeremy Falcon
        wrote on last edited by
        #3

        This may help you out... http://www.codeproject.com/system/hooksys.asp[^] Jeremy Falcon

        1 Reply Last reply
        0
        • J Joaquin M Lopez Munoz

          I think global hooks can be used without injecting any code into the target application. SetWindowsHookEx with dwThreadId set to 0 seems to watch on every thread within the desktop, from what the docs say. Joaquín M López Muñoz Telefónica, Investigación y Desarrollo

          B Offline
          B Offline
          Beer
          wrote on last edited by
          #4

          I was thinking the same thing. A global system hook should catch messages without any code in the target application. That's what a global hook does. hey

          1 Reply Last reply
          0
          • U User 402019

            Hey All, I am in need of some function or library that will allow me to intercept (or spy on) messages in a third-party application (essentially any application) similar to Spy++. I noticed an application posted here called InterSpy, but it uses hooks and you need to add code to your application to spy on messages. Spy++ obviously doesn't require this since you can spy on any application. Does anyone know how Spy++ works? Tom

            N Offline
            N Offline
            Neville Franks
            wrote on last edited by
            #5

            I thought the source for Spy++ was came with the MS Platform SDK. Aren't there other articles here on CP about hooking into other apps. I'd also be looking on MSDN. I'm sure you'll find articles there on doing this stuff. Neville Franks, Author of ED for Windows. Free Trial at www.getsoft.com

            1 Reply Last reply
            0
            • U User 402019

              Hey All, I am in need of some function or library that will allow me to intercept (or spy on) messages in a third-party application (essentially any application) similar to Spy++. I noticed an application posted here called InterSpy, but it uses hooks and you need to add code to your application to spy on messages. Spy++ obviously doesn't require this since you can spy on any application. Does anyone know how Spy++ works? Tom

              R Offline
              R Offline
              Roger Allen
              wrote on last edited by
              #6

              Take a look at the Winspector program in the free tools section here. Its a home grown version of spy which works a lot better in many ways. The only problem is that the source is not available, but you can get hold of the exe. Roger Allen Sonork 100.10016 Were you different as a kid? Did you ever say "Ooohhh, shiny red" even once? - Paul Watson 11-February-2003

              1 Reply Last reply
              0
              Reply
              • Reply as topic
              Log in to reply
              • Oldest to Newest
              • Newest to Oldest
              • Most Votes


              • Login

              • Don't have an account? Register

              • Login or register to search.
              • First post
                Last post
              0
              • Categories
              • Recent
              • Tags
              • Popular
              • World
              • Users
              • Groups