---- Delphi-Talk Discussion List <delphi-talk@elists.org> wrote: > > I have found the declarations in a C header file. > Anyway thank you very much for answering. > > I will post the declaration here, maybe other peoples are interested:
<snip> I just got through doing a bit of digging into SysUtils.pas and Windows.pas to refresh my memory how FindFirst() works. The Delphi fa* constants for Windows are actually numeric aliases for the equivalent Windows FILE_ATTRIBUTE_* (e.g. faArchive = FILE_ATTRIBUTE_ARCHIVE). So, given that FindFirst() is a wrapper for the API FindFirstFile(), you should be able simply to "OR" in the desired Windows.pas FILE_ATTRIBUTE_* constants into the FindFist() Attr parameter as is (or, if you're a purist, create your own equivalent fa* constants). HTH Stephen Posey [EMAIL PROTECTED] __________________________________________________ Delphi-Talk mailing list -> Delphi-Talk@elists.org http://www.elists.org/mailman/listinfo/delphi-talk