[Mono-list] Mono+Gtk+Windows (Errors 2nd Part)
Pablo Fischer
pablo@pablo.com.mx
Tue, 07 Oct 2003 15:07:32 -0500
hi all!
I finally installed mono (.28) and gtk# (.10) in Windows, but I cannot
run my gtk# apps.
In Linux I have a small example, its just a button (in glade) and in the
.cs file I load it and show it, ,in linux works very fine, but in
Windows Im getting an error (at the end of the mail) and the app gets
closed. In linux I have the same version, the mono (.28, compiled) and
gtk# (compiled), so in linux and windows I have the same version.
Any ideas?
Thanks!
Warning **: Failed to load function gtksharp_glade_xml_get_filename from
gtksharpglue
Warning **: Failed to load function gtksharp_glade_xml_get_filename from
gtksharpglue
Unhandled Exception: System.TypeInitializationException: An exception
was thrown
by the type initializer for Gtk.Application --->
System.NullReferenceException:
A null value was found where an object instance was required
in <0x0005e> Gtk.RuntimeEnvironment:InitializeWindowsRuntime ()
in <0x0003b> Gtk.RuntimeEnvironment:Initialize ()
in <0x00007> Gtk.Application:.cctor ()
--- End of inner exception stack trace ---
in (unmanaged) Gtk.Application:Init ()
in <0x0001d> GladeSamples.GladeTest:.ctor (string[])
in <0x00024> GladeSamples.GladeTest:Main (string[])
And the app