RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
EOleSysError.ErrorCode Property

The status code returned by the failed method call, indicating the reason for the failure.

Pascal
property ErrorCode: HRESULT;
C++
__property HRESULT ErrorCode;

ErrorCode is the numerical error code returned by a failed call to an OLE automation object's method or property. 

ErrorCode is initialized in the constructor. 

 

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