[fpc-pascal] FileGetAttr fails on TrueCrypt partition
reynolight at googlemail.com
Wed Apr 20 17:16:39 CEST 2011
Am 20.04.2011 16:58, schrieb Michael Van Canneyt:
> This is the implementation of FileGetAttr:
> Function FileGetAttr (Const FileName : String) : Longint;
> 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.
Obscure enough, I have no problems using TSearchRec attributes via
FindFirst / FindNext. Maybe I still need some additional, lonesome
research and the issue is sitting in front of my monitors.
More information about the fpc-pascal