[DUG] FindFirst on a CD drive

Gajo Csaba csaba at enyem.com
Tue Dec 19 14:20:01 NZDT 2006


Do you start your search from scratch or you use the already existing  
structure? Did you free the structure from the memory before starting a  
new search?

Csaba


On Tue, 19 Dec 2006 02:22:49 +0100, Phil Middlemiss <phil at tumonz.co.nz>  
wrote:

> Thank you for that immensely helpful comment - have you been hitting the
> eggnog early? :-)
>
> As it happens (at the risk of taking your suggestion seriously), we do
> use DVDs and the problem still happens.
>
> Jeremy Coulter wrote:
>> Use DVD's Phil :-)
>>
>> Jeremy
>>
>> -----Original Message-----
>> From: delphi-bounces at ns3.123.co.nz  
>> [mailto:delphi-bounces at ns3.123.co.nz] On
>> Behalf Of Phil Middlemiss
>> Sent: 19 December 2006 13:24
>> To: NZ Borland Developers Group - Delphi List
>> Subject: [DUG] FindFirst on a CD drive
>>
>> Hi guys,
>>
>> we have a program that copies files from a number of CDs to the hard  
>> drive
>> and uses FindFirst recursively to see which files are available on the  
>> CD.
>>
>> Once it's copied all the files from one CD it asks for the next CD and
>> searches that disc for any files it can copy. This is where it seems to  
>> have
>> a problem. On my machine (W2k) everything works fine, on another  
>> machine in
>> the office (XP) it doesn't seem to find any files after the disc has  
>> been
>> swapped for the next one.
>>
>> Could this be Windows caching the CD contents? I tried refreshing  
>> Explorer
>> to show the actual contents of the second CD (which it did) but the app
>> still couldn't seem to find any files.
>>
>> Any ideas what is going on?
>>
>> Cheers,
>> Phil.
>>
>> --
>> No virus found in this incoming message.
>> Checked by AVG Free Edition.
>> Version: 7.1.409 / Virus Database: 268.15.24/592 - Release Date:  
>> 18/12/2006
>>
>>
>>
>>



-- 
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/


More information about the Delphi mailing list