Hi,
I don't know if I should have posted this one on the C++ forum, but I have a problem with my system wide hook. I made a dll in C++ and the hook is working fine. I hooked inside C++ and in the Proc I made a callback to visual basic where I process the message. Everything works fine until I loose focus on my application. It destroys the hook as soon as I click on another application or if another application pops up, etc. Anyone got any idea why this happens?
LuCkY
I don't know if I should have posted this one on the C++ forum, but I have a problem with my system wide hook. I made a dll in C++ and the hook is working fine. I hooked inside C++ and in the Proc I made a callback to visual basic where I process the message. Everything works fine until I loose focus on my application. It destroys the hook as soon as I click on another application or if another application pops up, etc. Anyone got any idea why this happens?
LuCkY