Show: Delphi C++
Display Preferences

System.SysUtils.SysErrorMessage

From XE2 API Documentation
Jump to: navigation, search

Delphi

function SysErrorMessage(ErrorCode: Cardinal): string;

C++

extern PACKAGE System::UnicodeString __fastcall SysErrorMessage(unsigned ErrorCode);

Properties

Type Visibility Source Unit Parent
function public
System.SysUtils.pas
System.SysUtils.hpp
System.SysUtils System.SysUtils

Description

Converts OS error codes into strings.

SysErrorMessage returns an error message string that corresponds to the specified OS error code.

Note: You can get the error code associated with a specific error using the System.GetLastError function.

See Also

Personal tools
Previous Versions
Translations