Please Give me a hand~~

  • Thread starter Thread starter NewBie
  • Start date Start date
N

NewBie

The FileAccess Enumeration in OpenNetCF.IO always give me error whatever I
choose any one of it (Read,Write,All....).

Error message in VB Editor is "Interger Type can not convert to
OpenNetCF.IO.FileAccess".

Can somebody explain me that behavior?

Thanks for any helps !!

Joey
 
The FileAccess enumeration in v1.1 is based on an unsigned integer type and
hence is not CLS Compliant, therefore cannot be used directly with VB. This
appears to be an error in the code since the values the enumeration contains
could be stored in an Int32 type which would work happily in VB.NET.

I'll log this as a bug.

Peter
 
Thanks for your feedback.
So would you tell me how can I use FileEX.CreateFile() in this version?
Or I have to declare CreateFile API by myself ?

I tried Convert.toUint32() but doesn`t work.

Thanks a lot~~
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top