[fpc-pascal] Syserrormessage, parameter data type

Jürgen Hestermann juergen.hestermann at gmx.de
Mon Oct 6 07:20:59 CEST 2014


Am 2014-10-05 um 20:21 schrieb Sven Barth:
> Please note that GetLastError is Windows-specific. The cross platform function in SysUtils is called GetLastOSError which does return Integer.
And why does a function SysErrorMessage exist that expects an INTEGER
and handes this over to FormatMessage which expects a DWORD?




More information about the fpc-pascal mailing list