How To Avoid Crashes When Debugging System-wide Hooks (179905)
The information in this article applies to:
- Microsoft Platform Software Development Kit (SDK) 1.0
This article was previously published under Q179905 SUMMARY
Debugging a system-wide hook can be very difficult because the debugger is
also being hooked. It is not uncommon to lock up the system, thus requiring
a reboot. This article shows you how to avoid locking up the system.
Basically, the hook procedure must check to see if the process being hooked
is the debugger. If it is, the hook procedure bypasses the debugger code.
REFERENCESFor additional informations, click the article number below
to view the article in the Microsoft Knowledge Base:
125677 How To Share Data Between Different Mappings of a DLL
100292 PRB: Data Section Names Limited to Eight Characters
102428 How To Debug a System-Wide Hook
Modification Type: | Minor | Last Reviewed: | 7/11/2005 |
---|
Keywords: | kbHook kbhowto KB179905 |
---|
|