It would be ugly to implement as it passes an array of FIND_DATA structures,
each of which contain an array. The EnumFiles exposed by the OpenNETCF RAPI
class provides the same functionality with less pain. Admittedly it's
slower, but I won't be tackling the FindAllFiles method in the near future.
Of course if you want to get it going and submit the change, we'd be glad to
have it.
--
Chris Tacke, eMVP
Advisory Board Member
www.OpenNETCF.org
---
Windows CE Product Manager
Applied Data Systems
www.applieddata.net
"Jody Gelowitz" <(E-Mail Removed)> wrote in message
news:%(E-Mail Removed)...
> Thanks Chris. The changes for CeFindFirstFile and CeFindNextFile work
> great!
>
> I was just wondering if you would be able to do CeFindAllFiles as well. I
> have been playing around with CeFindAllFiles and am able to get the
correct
> filecount, but I haven't been able to get an array of the CE_FIND_DATA
> structure to populate correctly. I get a single-dimension array being
> returned with only the name of the first file (nothing else).
>
> Doing time trials of the 2 different methods (without the array of files
> being populated with CeFindAllFiles) results in 2593.75 ms using the
> CeFindFirstFile/CeFindNextFile method and 187.5 ms with CeFindAllFiles
> (which does not yet work properly as explained above).
>
> Thanks,
> Jody
>
> "Chris Tacke, eMVP" <(E-Mail Removed)> wrote in message
> news:u5849i%(E-Mail Removed)...
> > Done.
> >
> > http://www.opennetcf.org/communication.asp
> >
> > --
> > Chris Tacke, eMVP
> > Advisory Board Member
> > www.OpenNETCF.org
> > ---
> > Windows CE Product Manager
> > Applied Data Systems
> > www.applieddata.net
> >
> > "Jody Gelowitz" <(E-Mail Removed)> wrote in message
> > news:(E-Mail Removed)...
> > > Does anybody have any examples of CeFindFirstFile and CeFindNextFile
(or
> > > CeFindAllFiles) in C#? I am having difficulty in getting any of these
> to
> > > work.
> > >
> > > Thanks,
> > > Jody
> > >
> > >
> >
> >
>
>