Sergei Gorelkin пишет: > According to Delphi documentation, it should return zero on success, > non-zero error code otherwise. > Windows handle-based implementation conforms to that. The proper fix > would be returning value of GetLastOSError, but it may be not available > for all platforms. > Fixed in r16318. Sergei