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 registry 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