Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

System wide hook

Status
Not open for further replies.

LuckyLuke

Programmer
Mar 28, 2001
188
NL
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
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top