开发者

how to restart a mouse hook?

I have a mouse hook that (for an unknown reason) dies every now and then (not too often). Maybe it's because a mouse move is not processed fast enough by the hook at some point in time or smth. (can someone btw. tell me what the re开发者_StackOverflowgistry key is for the timeout value on Windows 7?), but whatever the reason, I'd like to know how I can restart the hook if it's dropped? I don't know how I'm supposed to detect when the hook dies and how to restart it..

Thanks


The registry key used:

HKEY_CURRENT_USER\Control Panel\Desktop\

LowLevelHooksTimeout=10000

Also change this and reboot your system. Windows 7 sadly has no provision for letting you know of hook drops. You may use mircosoft connect to report this.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜