Am 2014-10-05 um 19:04 schrieb leledumbo:
But the current situation is wrong for *all* plattforms
FormatMessage doesn't exist on non-Windows platform. SysErrorMessage doesn't
call FormatMessage on Linux for instance.

Then it would make even less sense to use INTEGER in SysErrormessage.
The version that calls FormatMessage should use DWORD.
If it will be used on Windows only then there is no reason to use INTEGER
as an intermediate data type if DWORD is fed in and DWORD is handed over.
It makes not sense at all.
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Reply via email to