Graeme Geldenhuys wrote:
> 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).

Thanks Graeme, got it. Looks like the other bit of the puzzle is also 
called SysErrorMessage().

-- 
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk

[Opinions above are the author's, not those of his employers or colleagues]
_______________________________________________
Lazarus mailing list
[email protected]
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to