Im using low level mouse hooks in my program, and everything is fine with it until program crashes.
Lets say I do:
strcpy(0,"test");
That will ofcourse crash my program, but problem is that also it will make mouse almost to no unmoveable. I tend to fix most of problems in program, but debuging with unusable mouse is very hard. Is there any fix for this behaviour or is it possible to unhook it the moment crash occur?