🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #5345

Re: Displaying File Properties...

#5345
From: Heinrich Wolf
Date: Sat, 03 Sep 2005 06:55
21 lines
1429 bytes
"TerryC" <terrycDONTSPAMME@sweetwater.SPAMMERSDIEDIE.com> schrieb im 
Newsbeitrag news:4318b5a4$1@newsgroups.borland.com...
>
...
> Have you looked at GetFileAttributesEx() ?  You simply need to
> loop through a bunch of files with FindFirst() / FindNext() and
> feed the names to GetFileAttributesEx() to get all you could
> ever want.
>
> -Terry

Hi,

if you already call FindFirst / FindNext,
you need no more call GetFileAttributesEx.
The Info is already stored in tSearchRec.FindData.
See "Program Files\Borland\Delphi*\Source\Rtl\Win\Windows.pas"
for details;

Regards
Heiner 
Technical Details
Message-ID: <3nsvn9F34ckmU1@individual.net>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
References: <431426f6$1@newsgroups.borland.com> <4318b5a4$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,1b695757c50e3b40
X-Google-Attributes: gid10cc67,public
X-Google-Language: ENGLISH,ASCII-7-bit
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: "Heinrich Wolf" <invalid@invalid.invalid>
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: Re: Displaying File Properties...
Date: Sat, 3 Sep 2005 08:55:36 +0200
Lines: 23
Message-ID: <3nsvn9F34ckmU1@individual.net>
References: <431426f6$1@newsgroups.borland.com> <4318b5a4$1@newsgroups.borland.com>
X-Trace: individual.net 8PkXYT03J8ZnJwGVS27DdQECklaaVZ9WJWsuIIL5WeTm+QxWfU
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2670
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2670
X-RFC2646: Format=Flowed; Original