Dll's and the CompactFramework

G

Guest

We are trying to move some code down from the desktop into the WinCE
environment. We are developing under C# using Vs2003. With the
CompactFramework addin we can create window Apps that run under the WinCE
emulator. Works fine.

The next step was to try and add a Reference and a class instantition from
the Dll that contains the code we want to move into WinCE. I realize that
this is a simplistic approach but it seemed a logical first step. The App did
build and deploy but would not run in the WinCE emulator. No error codes were
returned. It just started and returned immediately with a code of "0".

What are the rules for Referencing desktop.NET Dll's from a CompactFramework
App? Can it be done at all.

Is it necessary to reconstruct eack Dll from the Desktop into the
CompactFramework before building the final WinCE App?

Appreciate any help you can give.

Thanks.
 
G

Guest

Desktop assemblies cannot be used under the CF. You can, however, use
device assemblies on the desktop. Code for the lowest common denominator to
get maximum portability.

-Chris
 

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