Eric Moore
May 12th, 1999, 06:17 PM
I'm trying to use a journal playback hook to send some mouse messages. The hook is set, but my callback/filter routine is never called.
I know the hook is set because I get a handle with no error, and all keyboard/mouse input pauses until I press Ctrl-ESC. However, I don't get a WM_CANCEL_JOURNAL message when Windows releases my hook when I press Ctrl-ESC.
I've debugged other hooks - the problem has always been getting the hook set or my code within the callback/filter. I don't know how to debug the callback/filter not getting called since there is no sign that my system is calling some bogus address. I've added a __asm int 3; to prove its not called and have looked at the SendKeys and SDKDemo sample code.
Ideas?
I know the hook is set because I get a handle with no error, and all keyboard/mouse input pauses until I press Ctrl-ESC. However, I don't get a WM_CANCEL_JOURNAL message when Windows releases my hook when I press Ctrl-ESC.
I've debugged other hooks - the problem has always been getting the hook set or my code within the callback/filter. I don't know how to debug the callback/filter not getting called since there is no sign that my system is calling some bogus address. I've added a __asm int 3; to prove its not called and have looked at the SendKeys and SDKDemo sample code.
Ideas?