RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
EOleSysError.Create Constructor

Creates an EOleSysError object.

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

Create calls SysErrorMessage to turn the OLE error code, ErrorCode, into a message string that it passes to the inherited constructor. EOleSysError initializes the ErrorCode property to the ErrorCode string. 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!