|
-
May 19th, 1999, 10:41 PM
#1
Hooks in COM objects
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 ?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|