Page 1 of 1

FindFile shows duplicate result

PostPosted: May 15th, 2009, 11:38 am
by mhieta
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

Re: FindFile shows duplicate result

PostPosted: May 15th, 2009, 3:48 pm
by Kambiz
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.

Re: FindFile shows duplicate result

PostPosted: May 15th, 2009, 6:12 pm
by mhieta
Hi,

Okay thanks for the info.

- Marko