System Delphi

Title: How to show a API errormessage as string
Question: Is there a function that translates the numeric value of a windows
API error result into a string ?
Answer:
GetlastError returns a numeriv value. With SysErrorMessage this can be
transformed into a string that has more meaning to the user:
ShowMessage( SysErrorMessage( GetlastError ));