System.SysUtils.EOSError.ErrorCode
Delphi
ErrorCode: DWORD;
C++
unsigned ErrorCode;
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
field | public | System.SysUtils.pas System.SysUtils.hpp |
System.SysUtils | EOSError |
Description
Specifies the code of an operation system error.
Read the value of ErrorCode to identify the type of error that was raised. ErrorCode is useful when an application needs to identify the type of error that occured in order to show a custom error dialog.
Note: On Windows, the value contained in ErrorCode is the same as the one obtained by calling the GetLastError routine in Windows unit.