RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
EOleException.Create Constructor

Creates an ole exception object.

Pascal
constructor Create(const Message: string; ErrorCode: HRESULT; const Source: string; const HelpFile: string; HelpContext: Integer);
C++
__fastcall EOleException(const AnsiString Message, HRESULT ErrorCode, const AnsiString Source, const AnsiString HelpFile, int HelpContext);

Create instantiates an EOleException object. 

Create allocates memory for the exception and initializes the ErrorCode, HelpFile, and Source properties using information passed in the OLE EXCEPINFO structure. It then calls the inherited CreateHelp method to display the error description and ID number from EXCEPINFO. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!