Application on Media

G

Guest

Hi All,

I have an application that is using SQLCE 2.0 and also of course the .NET CF.
Is it possible that I can install all files ONLY to an SD card which will
include the SQLCE and .NET CF so that I can just distribute an SD card with
everything on it and the user can plug it in and use it?

Cheers,
 
C

Christian Schwarz

James, I don't recommend you to run your application from a removable media
like SD/CF/PCMCIA memory card. Although it generally works, you quickly run
into trouble when you access the removable media directly (within 5 seconds
or so) after the device resumed from standby. I think even if your
application gracefully handles all IO errors (possible using own
File/Directory/FileStream/... classes pinvoking the win32 api functions)
there's a chance that third party libraries (SQLCE for instance) or even the
..NET CF runtime are crashing your application.

At least I've seen native exceptions after clicking buttons directly after
resuming. I suppose this happens when the .NET CF runtime tries to load an
assembly or a part of an assembly for jit-ing. But that's just my guess ...

Greetings, Christian
 

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

Top