[fpc-pascal] FileGetAttr fails on TrueCrypt partition
Jonas Maebe
jonas.maebe at elis.ugent.be
Wed Apr 20 17:19:15 CEST 2011
On 20 Apr 2011, at 17:16, reynolight wrote:
> Am 20.04.2011 16:58, schrieb Michael Van Canneyt:
>>
>> As you can see, the function returns the result of the
>> GetFileAttributes Win32 API call.
>> Why this call returns -1 is something that we cannot speculate on.
>> Most likely seems an error in the filesystem driver.
>
> Thanks, Michael. Came to the same result.
You can try calling getlastoserror to see whether it gives a more informative reason for the failure.
Jonas
More information about the fpc-pascal
mailing list