[Mono-list] Porting Windows Application

Peter Dennis Bartok peter at novonyx.com
Tue May 17 11:44:28 EDT 2005


Maybe you can provide some details as to what the app is doing. It obvious 
is calling AddMessageFilter, and SWF is failing. Any chance you can log a 
bug and attach the code snippet that causes the exception (or even better, 
make a small sample app that causes the same exception) so we have something 
to go by and fix? Or, maybe you could make the mathtest source available to 
myself or someone else on the SWF team to be able to fix this.

There should be no need to replace any winforms code with gtk#, we just need 
to fix whatever bugs you're running into.


-----Original Message-----
From: "Paul Thompson" <pault at HiWAAY.net>
To: <mono-list at lists.ximian.com>
Date: 17 May, 2005 09:40
Subject: [Mono-list] Porting Windows Application

>I'm using SuSE 9.3 and installed mono-core, mono-devel, monodoc,
>mono-extras, mono-local-extras, mono-web, mono-winforms, and the needed
>GTK/Gecko packages from the DVD.
>I'd like to port my C# applications from Windows to Linux. When I run a
>test application I get the following errors.
>~/cs/math> mono MathTest.exe
>Compat mode: the request from /home/pat/cs/math/MathTest.exe to load
>System.Windows.Forms was remapped (http://www.go-mono.com/remap.html)
>Compat mode: the request from /home/pat/cs/math/MathTest.exe to load
>System was remapped (http://www.go-mono.com/remap.html)
>Unhandled Exception: System.NullReferenceException: Object reference not
>set to an instance of an object in <0x0000e>
>(System.Windows.Forms.IMessageFilter) in <0x00021>
>MathTest.MathTest:Main ()
>I don't seem to have mdb installed, and gdb offers no further information.
>At some point I guess I'll have to replace the Windows forms with GTK#
>Any ideas?
>Mono-list maillist  -  Mono-list at lists.ximian.com

More information about the Mono-list mailing list