[Mono-list] Using Mono to compile for .NET Compact Framework (PocketPC)

Malte Hildingson tds00mahi@tellus.thn.htu.se
Mon, 8 Sep 2003 06:03:09 +0200 (CEST)


My guess is that since Mono is not (yet) aware of any compact
framework, it compiles methods in classes that are removed in the compact
release of .NET (it's quite an extensive list) and when you try to run
applications compiled with Mono on libraries that are stripped, you run
into a missing method sooner or later. This could be on reason to why they
die. Are there any error messages when they stop?

/malte


On Mon, 8 Sep 2003, Enzo Michelangeli wrote:

> I'm new to mono and CSharp, although I'm fluent in C and Java. I recently
> installed the Win32 version of Mono 0.26 on a Win98SE machine, and tried
> some simple compilations: a simple console "Hello world" program and a
> couple of notepads, namely:
>
> http://www.c-sharpcorner.com/1/NotePadAM.asp
> http://www.hewener.net/projekte.htm#sdenotepad
>
> All appear to work (despite the fact that the docs say that Win2K or XP
> are required for lack of sufficient Unicode support in '98): the three
> binaries run as expected on Win98.
>
> HOWEVER, only one of the three (namely, the "Hello world" console
> application) runs correctly on my PocketPC PDA (running Windows Mobile
> 2003): the two GUI apps die without any warning, despite the fact that at
> least the second one was coded explicitely for PocketPC.
>
> I also tried, during compilation, to reference assemblies belonging to the
> "Microsoft .NET Compact Framework 1.0 SP1", with command lines such as:
>
> mcs -L "C:\Program Files\Microsoft .NET Compact Framework 1.0
> SP1\netcf.core.ppc3.ARM.cab" -L "C:\Program Files\Microsoft .NET Compact
> Framework 1.0 SP1\netcf.all.wce4.ARMV4.cab" -r system -r system.drawing -r
> system.windows.forms -o notepad.exe  notepad.cs
>
> However, I didn't notice any improvement.
>
> Any idea?
>
> TIA --
>
> Enzo
>
> _______________________________________________
> Mono-list maillist  -  Mono-list@lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list
>