[Gtk-sharp-list] Unhandled Exception

Gonzalo Paniagua Javier gonzalo@ximian.com
Tue, 20 Jan 2004 03:04:57 +0100


El mar, 20-01-2004 a las 02:36, Néstor Salceda escribió:
> Hi all
> 
> I've installed gtk-sharp (CVS Version) on my Linux Box; but when i'm
> going to execute a program, I receive this error:
> 
> wizito@sphere:~/monosrc/gtk-sharp/sample$ mono glade-test.exe
>  
> Unhandled Exception: System.DllNotFoundException: libgtk-win32-2.0-0.dll
> in <0x0005c> (wrapper managed-to-native) Gtk.Application:gtk_init
> (int&,intptr&)in <0x00038> Gtk.Application:Init ()
> in <0x00011> GladeSamples.GladeTest:Main (string[])

This is fixed in current CVS.

> 
> I don't understand why mono search libgtk-win32-2.0.0.dll.

mono maps that name into libgtk-x11-2.0.so. Windows dll names are used
because MS runtime does not provide such feature.

-Gonzalo