A Library for Converting C++ Style Exceptions Into VCL Style Exceptions
TranslateStandardExceptions
This module uses the #pragma startup/#pragma exit facilities to install and remove a replacement ExceptObjProc, GetCppExceptionObject. This function examines the Structured Exception Record and checks to see if it is a C++ Exception, as indicated by an exception code of 0xEEFFACE. If it isn't a C++ Exception, GetCppExceptionObject simply passes the exception down to the default ExceptObjProc, GetExceptionObject, which is defined in SysUtils.pas.