Re: Assembly conversion to Pocket Pc format
- From: "Christopher Fairbairn" <christopher@xxxxxxxxxxxxxx>
- Date: Thu, 6 Mar 2008 23:25:29 +1300
Hi Harsha,
"Harsha" <Harsha@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:FF8A7D53-9072-4EF5-A21D-A374FD836174@xxxxxxxxxxxxxxxx
I want to convert windows assemblies to Pocket PC format. Is it possible ?
If so how to do that ? Do we have any tools to convert as have tools for
converting video and audio files to Pocket PC format ?
I don't think you'll find any automated tools for doing this kind of thing.
In certain respects there is no difference in format (i.e. the PE file
format used by *.dll and *.exe is essentially the same between both
platforms), but in others the differences between the .NET CF and full
framework are too great for an automated tool to perform without user
intervention.
If you take an assembly compiled for the .NET Compact Framework it will run
on the desktop without modification, assuming you only use the subset of
functionality supported on both platforms. You will get TypeLoad and
MethodMissing exceptions at runtime if your code references anything which
is not present on the current platform.
The opposite is not true. You can not take an assembly compiled for the
desktop and run it on the .NET CF without modification. If you have a
desktop assembly you realistically need to recompile it in order to get it
working on the .NET Compact Framework. When recompiling you will notice via
errors which features are not present within the base class libraries and
need code modifications to work around. You will also have a manual process
altering the code to cope with the different UI conventions and platform
limitations etc.
Daniel Moth has a good series of blog posts discussing this topic. For
example http://www.danielmoth.com/Blog/2004/09/retargetable-256.html
Hope this helps,
Christopher Fairbairn
.
- Follow-Ups:
- Re: Assembly conversion to Pocket Pc format
- From: Harsha
- Re: Assembly conversion to Pocket Pc format
- Prev by Date: Re: Memory problem with SqlCeEngine.Compact
- Next by Date: Re: Assembly conversion to Pocket Pc format
- Previous by thread: Reject Call
- Next by thread: Re: Assembly conversion to Pocket Pc format
- Index(es):
Relevant Pages
|