🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: FindFirst FindNext Problems

#6645
From: Hans Galema
Date: Thu, 21 Apr 2005 08:39
13 lines
1413 bytes
Colin B Maharaj wrote:

> // fs could be "*.dat"

Think that your problem lies in specifying an extension.

My experience is that FindFirst/FindNext is very bad at
looking for extensions.

Better specify "*.*" and then compare the extension of
every sr.Name with the wanted extension.

Hans.
Technical Details
Message-ID: <42676744$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!diablo.voicenet.com!news-out.newsgroups.com!propagator2-sterling.newsfeeds.com!news-in.nuthinbutnews.com!news-in.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail
References: <42675e43$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,703d67222767022e
X-Google-Attributes: gid10cc67,public
X-Google-Language: ENGLISH,ASCII-7-bit
Date: Thu, 21 Apr 2005 10:39:05 +0200
From: Hans Galema <notused@notused.nl>
User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206)
X-Accept-Language: en-us, en
MIME-Version: 1.0
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: Re: FindFirst FindNext Problems
References: <42675e43$1@newsgroups.borland.com>
In-Reply-To: <42675e43$1@newsgroups.borland.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 129.125.201.248
Message-ID: <42676744$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1114072900 129.125.201.248 (21 Apr 2005 01:41:40 -0800)
Lines: 13
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!diablo.voicenet.com!news-out.newsgroups.com!propagator2-sterling.newsfeeds.com!news-in.nuthinbutnews.com!news-in.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail