Hi,
I'm using FindFirst to find files. I followed the example in the Help:
iAttributes |= faAnyFile ;
TSearchRec sr;
if (FindFirst(filter, iAttributes, sr) == 0) {
do {
if ((sr.Attr & iAttributes) == sr.Attr) {
...... and so on
Now faAnyFile = 0x03F, but sr.Attr = 0x080.
This code is not mentioned in the attribute constants for TSearchRec.
What can it be?
Thanks,
Henk
I'm using FindFirst to find files. I followed the example in the Help:
iAttributes |= faAnyFile ;
TSearchRec sr;
if (FindFirst(filter, iAttributes, sr) == 0) {
do {
if ((sr.Attr & iAttributes) == sr.Attr) {
...... and so on
Now faAnyFile = 0x03F, but sr.Attr = 0x080.
This code is not mentioned in the attribute constants for TSearchRec.
What can it be?
Thanks,
Henk