Article View: borland.public.cppbuilder.nativeapi
Article #5346Re: Displaying File Properties...
From: Heinrich Wolf
Date: Sat, 03 Sep 2005 15:16
Date: Sat, 03 Sep 2005 15:16
27 lines
1700 bytes
1700 bytes
"Heinrich Wolf" <invalid@invalid.invalid> schrieb im Newsbeitrag news:3nsvn9F34ckmU1@individual.net... > "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" I'm sorry: This is Delphi, but it is the same in C++ See "Program Files\Borland\CBuilder*\Include\winbase.h" > for details; > > Regards > Heiner >
Technical Details
Message-ID:
<3ntt20F3965qU1@individual.net>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mailReferences:
<431426f6$1@newsgroups.borland.com> <4318b5a4$1@newsgroups.borland.com> <3nsvn9F34ckmU1@individual.net>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!news2.google.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 17:16:15 +0200 Lines: 29 Message-ID: <3ntt20F3965qU1@individual.net> References: <431426f6$1@newsgroups.borland.com> <4318b5a4$1@newsgroups.borland.com> <3nsvn9F34ckmU1@individual.net> X-Trace: individual.net XpoldeeHX/M1bXFHINcVCQb40gCxkktYxZ+Yb2b2vPQxKtATlp 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; Response