RAPI CeDeleteFile

  • Thread starter Thread starter Ian Williamson
  • Start date Start date
I

Ian Williamson

I am attempting to use the OpenNetCF RAPI library to
delete a file on a handheld. I am constantly getting
an "Access is denied" error from CeGetLastError(). The
file is stored in flash memory and has no attributes
set. I have tried connecting to ActiveSync both as a
Guest and in a Partnership. No luck.

Any suggestions?

Cheers, Ian
 
Is the file read-only? If so, you need to clear that attribute bit before
you can delete the file.

Paul T.
 
Solved it.

There is a small bug with closing the file handle in
DeviceFileExists() method in the RAPI library. I will
forward it to the OpenNetCF group.
 

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