Re: Assembly conversion to Pocket Pc format
- From: Harsha <Harsha@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Thu, 6 Mar 2008 03:21:01 -0800
Thank you very much Christopher for your time and response.
I am really sorry to say that I was not specific about my question.
My scenario is I have set of Compact framework DLL's (Not winodws assembly).
Till date I used to manually paste those into my device. While doing that it
used to copy and convert those assemblies into device format.
Now I want to automate that process and I don't want to manually copy them
rather I want to download from HTTP or HTTPS. So while downloading text file
downloads properly. But for assembly's,images,videos format needs to be
changed as it was happening when we manually copy to device.
In brief my question is how to copy and convert an assembly into device
without using activesynch ?
FYI those assemblies are CF assemblies not windows assemblies.
Hope I am much clear now.
Thanks..
Harsha.
"Christopher Fairbairn" wrote:
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: <ctacke/>
- Re: Assembly conversion to Pocket Pc format
- From: Christopher Fairbairn
- Re: Assembly conversion to Pocket Pc format
- References:
- Re: Assembly conversion to Pocket Pc format
- From: Christopher Fairbairn
- Re: Assembly conversion to Pocket Pc format
- Prev by Date: Re: Assembly conversion to Pocket Pc format
- Next by Date: Re: Memory problem with SqlCeEngine.Compact
- Previous by thread: Re: Assembly conversion to Pocket Pc format
- Next by thread: Re: Assembly conversion to Pocket Pc format
- Index(es):
Relevant Pages
|