> Any idea ?
Just compared function FindFirst of D7 and D10, they are different.
D10
const
faSpecial = faHidden or faSysFile or faDirectory;
D7
const
faSpecial = faHidden or faSysFile or faVolumeID or faDirectory;
Also const faVolumeID is tagged as deprecated in D10, and commented "not used
In ICS-V6, there is a function IsDirectory located in OverbyteIcsHttpSrv.
IsDirectory is based on SysUtils.FindFirst. So far so good.
The problem is the behaviour difference between D7 and D2006. When supplying
"c:" as root directory, D2006 list it as a directory because IsDirectory
returns TRUE.