Quote Originally Posted by shail2k4 View Post
Everything is resolved for the Window Based Application, the need was to use WH_GETMESSAGE.

Now only one thing is that its not working for DOS based application.
I guess it is because there is no message pump in a DOS based application?