[Mono-list] Porting Windows Application

Paul Thompson pault at HiWAAY.net
Tue May 17 11:39:56 EDT 2005

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?


More information about the Mono-list mailing list