Re: [fpc-pascal] [Windows] FileGetAttr reports faHidden on e.g. C:\

2015-03-05 Thread José Mejuto
El 04/03/2015 a las 16:01, Bart escribió: Hi, Kind of off-topic. While working on Lazarus' TShellTreeView component, it was brought to my attention that FileGetAttr('C:\') returns an attribute that has faHidden in it. This is kind of unexpected. Well actually it reports $16: faDirectory +

[fpc-pascal] [Windows] FileGetAttr reports faHidden on e.g. C:\

2015-03-04 Thread Bart
Hi, Kind of off-topic. While working on Lazarus' TShellTreeView component, it was brought to my attention that FileGetAttr('C:\') returns an attribute that has faHidden in it. This is kind of unexpected. Well actually it reports $16: faDirectory + faHidden + faSysFile on Win7-64 (32-bit fpc) On