[Gtk-sharp-list] Windows gtk# Help

Jasper van Putten jas_lists@gmx.net
Sun, 21 Mar 2004 21:51:31 +0100


Herbert M Sauro wrote:

>It compiles ok but when I run it I get the following exception:
>
>Unhandled Exception: System.DllNotFoundException: libgtk-win32-2.0-0.dll
>in <0x0004a> (wrapper managed-to-native) Gtk.Application:gtk_init
>(int&,intptr&)
>in <0x00027> Gtk.Application:Init ()
>in <0x0000e> Hello:Main ()
>  
>

It seems that they included the config file for linux which maps 
libgtk-win32-2.0-0.dll  to libgtk-x11-2.0.so.
Go to C:\Program Files\mono-0.31\etc\mono\  and delete the config file. 
It should work then.

Jasper