Re: Assembly conversion to Pocket Pc format



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


.



Relevant Pages

  • Re: Assembly conversion to Pocket Pc format
    ... used to copy and convert those assemblies into device format. ... FYI those assemblies are CF assemblies not windows assemblies. ... If you take an assembly compiled for the .NET Compact Framework it will ... functionality supported on both platforms. ...
    (microsoft.public.dotnet.framework.compactframework)
  • Re: CR and LF
    ... what you were getting was if it wasn't on a unix system. ... other platforms in using CRLF to indicate a newline in a text ... format or the other; then write code for that format in a way ...
    (comp.unix.questions)
  • Re: Unipod and Pen Drives
    ... I know nothing about GuardDD or the PC card. ... requires a partition for Windows98. ... ie can you read/write from both platforms, ... Well I thought the point was to format the drive in a way different to ...
    (comp.sys.acorn.hardware)
  • Re: short float ???
    ... you mention that "this format is used in the NVIDIA graphic cards, ... floatingpoint" format natively? ... Although those specific platforms are fairly popular, ... float", or will standard promotion rules apply and computations be ...
    (comp.std.c)
  • Re: %a format
    ... since Python uses IEEE representation for floating point ... Python has no knowledge of the FP format used by the platform C it's ... Endianness differs across platforms too, ...
    (comp.lang.python)