On Wed, 20 Apr 2011, reynolight wrote:
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:
FileGetAttr is not supposed to accept wildcards. Michael. _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal