muscicapa
May 19th, 1999, 10:41 PM
Thanks to some queries , I have been trying to build a hook application into an ATL simple object. There are numerous problems, A hook handler function needs to be global, The SetWindowsHook is done in the COM object, now I wanted the hook function to send back the lParam,wParam and code back to the client via a callback. THe callback helper function in the server however needs to be accessible via a static fn, but when a global hook is set the ATLadvise seems to work only in the context of the client and not in other application to which the hook gets attached.
Any ideas ?
Any ideas ?