FindFile shows duplicate result

Please post bug reports, feature requests, or any question regarding the DELPHI AREA products here.

FindFile shows duplicate result

Postby mhieta » May 15th, 2009, 11:38 am

Hi,

Using D2007 and FindFile 4.02.
When searching files with ex. *.dic;*.dicom and folder has 3 dicom files: image10.dicom,image11.dicom and image12.dicom. When search finishes it founds those files "two times". Also tested with FindFile demo.

- Marko
mhieta
Active Member
Active Member
 
Posts: 22
Joined: November 16th, 2005, 7:58 pm

Re: FindFile shows duplicate result

Postby Kambiz » May 15th, 2009, 3:48 pm

That is the Windows API problem that consider *.dic as *.dic*.

Because FindFile doesn't store the found files, it cannot eliminate the duplicates. You have to do it in your code, sorry.
Kambiz
User avatar
Kambiz
Administrator
Administrator
 
Posts: 2408
Joined: March 7th, 2003, 7:10 pm

Re: FindFile shows duplicate result

Postby mhieta » May 15th, 2009, 6:12 pm

Hi,

Okay thanks for the info.

- Marko
mhieta
Active Member
Active Member
 
Posts: 22
Joined: November 16th, 2005, 7:58 pm


Return to DELPHI AREA Products

Who is online

Users browsing this forum: No registered users and 2 guests

cron