JCL Help:JclHookExceptions

From Project JEDI Wiki
Jump to navigationJump to search


Summary

Enables exception hooking.


Pascal

 function JclHookExceptions: Boolean;


Return Value

If the hook was succesful, the function returns True, otherwise it returns False.


Description

JclHookExceptions enables exception hooking. After a succesful call, all exceptions will be routed through an internal handler first. Note that to actually get notified of exceptions you should set at least one of the notify event variables to your own handler. Additionally you can also enable stack tracking and / or except frame tracking to occur automatically on any exception.


See Also

JclUnhookExceptions JclExceptionsHooked ExceptNotifyProc ExceptNotifyMethod ExceptionFrameTrackingEnable


About

Unit

JclHookExcept


Donator

Hallvard Vassbotn


Contribute to this help topic

This documentation wiki is based on the collaborative effort of Project JEDI users. Your edits are welcome in order to improve documentation quality: edit this page