[Lazarus] Portable error messages
Graeme Geldenhuys
graemeg.lists at gmail.com
Fri Dec 5 08:16:43 CET 2008
On Fri, Dec 5, 2008 at 1:36 AM, Mark Morgan Lloyd
<markMLl.lazarus at telemetry.co.uk> wrote:
> SysErrorMessage(GetLastError);
>
> If there a portable way (e.g. for Linux and Windows) in FPC?
There is a SysUtils function called GetLastOSError(). it's
cross-platform, but I don't know if it is implemented in all OS's. I
know it is for Windows and Unix (which includes Linux).
Regards,
- Graeme -
_______________________________________________
fpGUI - a cross-platform Free Pascal GUI toolkit
http://opensoft.homeip.net/fpgui/
More information about the Lazarus
mailing list