On 1/15/15, Michael Van Canneyt <mich...@freepascal.org> wrote: > It seems strange that rewrite/reset handles it, because a quick search > reveals > that there is no handling of FILE_ATTRIBUTE_HIDDEN in the RTL.
Reset handles it, rewrite not (access denied (GetLastOSError = 5)). TFileStream.Create with fmCreate also fails, but with GetLasOSError = 6 (invalid entry). Chances are I replaced some Resets with TFileStream.Create when saving the file in question. So, in the end it's all my own doing. Sorry for wasting your time. Bart _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal