Is it possible to monitor the execution of another application?

  • Thread starter Thread starter Lars
  • Start date Start date
L

Lars

I want to write a program that reacts on changes in another
application. Is it possible to get a copy of (some of) the messages it
recieves?
Another approach is to watch for changes on the screen. Is that
possible? If so - is it possible to define an area to watch?

I'm completely new to windows programming, so any hint are welcome.

/Lars
 
I want to write a program that reacts on changes in another
application. Is it possible to get a copy of (some of) the messages it
recieves?

Yes - you can monitor messages Lars.

Write a global hook - see the SetWindowsHookEx API documentation.
Whether that'll be sufficient to do what you want is another matter
though.

Dave
 
Back
Top