[Gtk-sharp-list] Gtk# with .NET (on 64bit Windows)

Martin Brodbeck martin at brodbeck-online.de
Thu Dec 3 08:40:24 EST 2009

Hello all,

I have another newbie question. I tried to get my small Gtk#-application run 
on Windows 7 (64bit). So I installed the current "Gtk# for .NET" on my windows 
machine. But the application immediately crashes with a 

Is this a known bug or is it because Gtk# for .NET is 32bit (whatever that 
means)? Is someone working on this problem or should it just run fine and I did 
something wrong?

Here is the Exception-output (sorry, messages are in German):
--- snip ---
Unbehandelte Ausnahme: System.TypeInitializationException: Der 
Typeninitialisierer für "Gtk.Application" hat eine Ausnahme verursacht. ---> 
System.BadImageFormatException: Es wurde versucht, eine Datei mit einem 
falschen Format zu laden. (Ausnahme von HRESULT: 0x8007000B)
   bei GLib.Thread.glibsharp_g_thread_supported()
   bei GLib.Thread.get_Supported()
   bei Gtk.Application..cctor()
   --- Ende der internen Ausnahmestapelüberwachung ---
   bei Gtk.Application.Init()
   bei SweetApiary.SweetApiary.Main()
--- snip ---

Thanks a lot

More information about the Gtk-sharp-list mailing list