PC Review


Reply
Thread Tools Rate Thread

CeFindFirstFile, CeFindNextFile

 
 
Jody Gelowitz
Guest
Posts: n/a
 
      10th Sep 2003
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


 
Reply With Quote
 
 
 
 
Ginny Caughey [MVP]
Guest
Posts: n/a
 
      10th Sep 2003
Jody,

Have you checked here:
http://www.opennetcf.org/communication.asp

Chris has done a lot of the Rapi stuff.
--
Ginny Caughey
Windows Embedded MVP

"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
>
>



 
Reply With Quote
 
Chris Tacke, eMVP
Guest
Posts: n/a
 
      10th Sep 2003
I just got them finished and will publish a new release shortly....

--
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
>
>



 
Reply With Quote
 
Chris Tacke, eMVP
Guest
Posts: n/a
 
      10th Sep 2003
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
>
>



 
Reply With Quote
 
Chris Tacke, eMVP
Guest
Posts: n/a
 
      12th Sep 2003
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
> > >
> > >

> >
> >

>
>



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off



Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 07:33 PM.