ShowMessage(SysErrorMessage(GetLastError)))Taken from here.
GetLastError
- Details
- Written by: Stanko Milosev
- Category: Delphi
- Hits: 4972
Correct usage of GetLastError and FormatMessage in Delphi.