Detect Subscribers To Event In Real Time

Posted by xyz247 on Programmers See other posts from Programmers or by xyz247
Published on 2012-09-25T04:58:47Z Indexed on 2012/09/25 9:48 UTC
Read the original article Hit count: 219

Filed under:
|
|

I'm using C++ in the QT framework to write an application that detects an application running in memory. I can use the FindWindow method, but that requires that I know the windows title before hand. What would be the best method for identifying behavior of the application in memory to match it to a title? For example, if I know (before scanning) that a given application subscribes to the OnKeyPress event, is it possible to hook to it that method, detect all of the subscribers and enumerate them to find the application i'm looking for? If so, how would I go about doing that without integrating into the kernel?

Thanks in advance for all the responses.

© Programmers or respective owner

Related posts about c++

Related posts about Windows