In Windows one can get standard error messages using e.g.
SysErrorMessage(GetLastError);If there a portable way (e.g. for Linux and Windows) in FPC? If direct access to the function above is best practice for Windows is there am equivalent for Linux?
