[fpc-pascal] FileGetAttr fails on TrueCrypt partition
reynolight
reynolight at googlemail.com
Wed Apr 20 12:26:14 CEST 2011
g: is the XP system volume. x: is the truecrypted NTFS partition. No
problem to set / get / show file attributes with Win32 GUI on both
volumes. Same with attrib.exe on console.
sysutils.FileGetAttr(g:\*) is fine, as well, but FileGetAttr(x:\*)
returns -1 as an error.
After copying a file from x: to g:, its attributes are - surprise - ok
again. Even bigger surprise: After re-copying from g: to x:,
FileGetAttr(x:\...) delivers the same correct result as on g:
Any idea?
Wolfram
More information about the fpc-pascal
mailing list