[fpc-devel] RangeCheck error in sysutils.FILEGETATTR

cobines cobines at gmail.com
Mon Mar 29 11:11:23 CEST 2010


Maybe it's because GetFileAttributes returns DWORD (unsigned) but
FileGetAttr's result is Longint (signed). When directory not exists
result is DWORD(-1) = 0xFFFFFFFF which is outside of Longint range.

--
cobines



More information about the fpc-devel mailing list