JCL Help:TJclExceptFrame.CodeLocation

From Project JEDI Wiki
Jump to navigationJump to search


Summary

Returns the location of the code for non efkOnException frames.


Pascal

 public property CodeLocation: Pointer;


Return Value

If there's a JMP instruction at the "official" location, the function will return the destination of that address, otherwise the function just returns the "official" location.


Description

CodeLocation determines the location of the code for non efkOnException frames. The Delphi linker sometimes adds a JMP-instruction that jumps to the handler. With this method you'll always get the location of the handler, inspite of a JMP instruction being inserted or not.


About

Donator

Marcel Bestebroer


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