Wake event and Storage Card

  • Thread starter Thread starter Boas Enkler
  • Start date Start date
B

Boas Enkler

Hi

In the WakeUp event I've in my Database application (CF2.0 & SQL MObile
3.0)implemented an reconnect to the database but sometimes this doesn't
work.

It seems like the storage card isn't mounted. The Error message says
that the path were invalid but it didn't changed and the file didn't
move after a restart it works again...

Is this possible?
What may I do ?
Any Hints?

Versions of the components are
CF2 Version:2.0.5238.0
OS Version:Microsoft Windows CE 5.1.70
 
Hi

in my tests it works. But my not pretty sure on how long the sleep time
has to be and I'm also not really sure if this works on all devices.

For exapmle on my Asus MyPal I event don't need this sleep time on
WinMobile5 Devices the problem appears everytime...
 
Boas,

Unless you can find a better solution, I'd make the sleep interval
configurable somehow, perhaps a registry setting. I've had to do something
similar with printers over the years. Or in the event of failure, go into a
loop where you sleep some small amount of time and retry (which I have used
with record locking of files on the desktop forever.)
 
Back
Top