On Fri, Dec 5, 2008 at 1:36 AM, Mark Morgan Lloyd
<[EMAIL PROTECTED]> 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/
_______________________________________________
Lazarus mailing list
[email protected]
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to