System.Win.ComObj.HandleSafeCallException
Delphi
function HandleSafeCallException(ExceptObject: TObject;
ExceptAddr: Pointer; const ErrorIID: TGUID; const ProgID,
HelpFileName: WideString): HResult;
C++
extern DELPHI_PACKAGE HRESULT __fastcall HandleSafeCallException(System::TObject* ExceptObject, void * ExceptAddr, const GUID &ErrorIID, const System::WideString ProgID, const System::WideString HelpFileName);
Propriétés
Type | Visibilité | Source | Unité | Parent |
---|---|---|---|---|
function | public | System.Win.ComObj.pas System.Win.ComObj.hpp |
System.Win.ComObj | System.Win.ComObj |
Description
Définit les informations de l'exception spécifiée (ExceptObject
) comme objet informations sur l'erreur du thread logique d'exécution en cours. Cette fonction renvoie le code d'erreur de l'objet informations sur l'erreur qu'elle définit.
Si ExceptObject
n'est pas une instance de la classe Exception, cette fonction définit un objet informations sur l'erreur avec un code d'erreur de 0, correspondant à une "erreur inattendue".