I just start to try for the 1st time mono, on my FreeBSD (4.7) station, and I run into the following problems.
I downloaded, uncompress and install the mono (0.19) runtime with the following commands: $ ./configure $ gmake $ gmake install everything run fine and and afterward an HelloMono.cs test run without any trouble. So I decide to give a go to GTK# (0.7) $ gmake $ gmake install everything run fine but for 'gconf/GConf' package (I drop it, no worry). then the mono problem begin. I 'cd samples' and try $ mono button.cs and get the following (and surprising) error: bash-2.05b$ mono button.exe Unhandled Exception: System.ExecutionEngineException: No GCHandle support built-in in (unmanaged) 06 System.Runtime.InteropServices.GCHandle:GetTargetHandle (object,int,System.Runtime.InteropServices.GCHandleType) in <0x00004> 06 System.Runtime.InteropServices.GCHandle:GetTargetHandle (object,int,System.Runtime.InteropServices.GCHandleType) in <0x00025> 00 System.Runtime.InteropServices.GCHandle:Alloc (object,System.Runtime.InteropServices.GCHandleType) in <0x0005b> 00 System.WeakReference:AllocateHandle (object) in <0x0002a> 00 System.WeakReference:.ctor (object,bool) in <0x00019> 00 System.WeakReference:.ctor (object) in <0x0005d> 00 GLib.Object:set_Raw (intptr) in <0x00016> 00 Gtk.Object:set_Raw (intptr) in <0x00062> 00 Gtk.Window:.ctor (Gtk.WindowType) in <0x00047> 00 Gtk.Window:.ctor (string) in <0x00040> 00 GtkSamples.ButtonApp:Main (string[]) I'm surprised I had though GCHandle would be supported ..... _______________________________________________ Mono-list maillist - [EMAIL PROTECTED] http://lists.ximian.com/mailman/listinfo/mono-list
