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

Enzo Michelangeli Enzo Michelangeli" <em@em.no-ip.com
Mon, 8 Sep 2003 11:35:32 +0800


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