----- Original Message ----- From: "Malte Hildingson" <[EMAIL PROTECTED]> To: "Enzo Michelangeli" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Monday, September 08, 2003 12:03 PM
> 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. That was my guess too, so I tried to tell the Mono mcs compiler to point to the Compact Framework's libraries. Is there any way of telling the compiler "forget about your default framework completely, and use this other one instead"? > This could be on reason to why they > die. Are there any error messages when they stop? No, and that's puzzling too: I would expect the runtime to complain bitterly. Enzo --------------------------------------------- > > /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 - [EMAIL PROTECTED] > > http://lists.ximian.com/mailman/listinfo/mono-list > > > > _______________________________________________ > Mono-list maillist - [EMAIL PROTECTED] > http://lists.ximian.com/mailman/listinfo/mono-list > _______________________________________________ Mono-list maillist - [EMAIL PROTECTED] http://lists.ximian.com/mailman/listinfo/mono-list
