Run application from flash card?

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Is it possible to run a .net CF application straight from an SD card on a
PocketPC? Or does it have to be installed on the PocketPC first?
 
Amp said:
Is it possible to run a .net CF application straight from an SD card on a
PocketPC? Or does it have to be installed on the PocketPC first?

Do you mean in terms of just the EXE on the card, or the .NET Framework too?

We're currently running an exe deployed from VS.NET on a CF card, and it
runs fine; a little slower than from the main memory, but not really
noticeable.

The framework (and SQLCE) have been installed into the main memory though.
 
Yes as long as the device has the .NET Compact Framework runtimes installed,
and any other required assemblies are present in the same folder as your
app.
You will also need a method to call the application since the SD folder may
be named differently on different devices. You could for example write a
native code Autorun.exe for the storage card which checks for the .NETCF
runtimes and installs these if necessary and then launches your application.

Peter
 
You could for example write a native code Autorun.exe for the storage card
which checks for the .NETCF runtimes and installs these if necessary and
then launches your application.

There is some detailed example on the net on how to do this ?
Thanks in advance,
A.
 
In addition to the other good replies you got, let me state the obvious (or
not so obvious depending on your viewpoint :-)

If you do not copy the CF exe to storage and run it directly from the card
you should not remove the card (if you do you will likely get a native
exception at some point)

Cheers
Daniel
 
I've got a problem with Running on a SD Card
it worked fine until i swap the card to an ther machine.
i will not find a necessary DLL. If i use the file browser it isn't shown
, but do i use the Active Sync browser then is se that my DLL is there.
does anybody knows what's going on???

Wim
 
Back
Top