[Gtk-sharp-list] status of GTK# on Windows

Francisco T. Martinez martinf@mfconsulting.com
Sat, 10 Jul 2004 10:36:23 -0500

Davy Brion wrote:

>On Fri, 9 Jul 2004 18:26:06 +0200, Davy Brion <ralinx@gmail.com> wrote:
>>On Fri, 09 Jul 2004 11:21:49 -0500, Francisco T. Martinez
>><martinf@mfconsulting.com> wrote:
>>>So just in case this can help you, It may help to have your users try
>>>this new installation for Mono/Gtk# on Win32:
>>i'll ask someone to try it... ideally, i would prefer if the
>>application works with MS.NET though since most windows users will
>>already have that installed
>i asked someone to try it and he reported the following error:
>System.NullReferenceException: Object reference not set to an instance of an
>object in (unmanaged) (wrapper managed-to-native)
>GLib.Value:g_value_set_boxed (GLib.Value&,intptr)
>in <0x00004> (wrapper managed-to-native) GLib.Value:g_value_set_boxed
>in <0x0006b> GLib.Value:set_Val (object)
>in <0x0011b> GLib.Value:.ctor (object)
>in <0x0007a> Gtk.ListStore:AppendValues (System.Array)
>in <0x00014> Gtk.ListStore:AppendValues (object[])
>the line of code which causes it tries to add a row to a ListStore by
>passing an Object reference, and then two properties of that object
>Gtk-sharp-list maillist  -  Gtk-sharp-list@lists.ximian.com
I am still trying to figure out what is the problem with the Gtk# 
installation and configuration for Win32 and the MS GAC.  However, tell 
your people to run one more test.
After having installed the combined installer above, go to the start 
menu and select the Mono 1.0 Command Prompt.
Then at the console type:

mono <pathtoyourapplication\yourapplication.exe>

I will like to know if your Visual Studio .NET generated application 
that use Gtk# will run correctly with the Mono runtime.  The upshot is 
that I conducted some test of my own and so far I experience the same 
exceptions you are having.  However,  I open a Mono Command  Prompt and  
pass my fully qualified executable path as the parameter to mono, it 
runs it without major problems.  The only artifact would be a mapping 
warning that reads:

Compat mode: the request from 
to load System was remapped (http://www.go-mono.com/remap.html)

It would be greatly appreciated to get feedback from the test I describe 
above, to help me and others in the community troubleshoot the problem.