[Gtk-sharp-list] Gtk-Sharp Pain
Gonzalo Paniagua Javier
gonzalo@ximian.com
02 Jun 2003 04:15:50 +0200
El lun, 02 de 06 de 2003 a las 03:46, Jeremiah McElroy escribió:
> ** (helloworld.exe:2700): WARNING **: Failed to load library
> libgtk-win32-2.0-0.dll (libgtk-win32-2.0-0.dll): The specified procedure
> could not be found.
>
> Which ends with:
>
> Unhandled Exception: System.MissingMethodException: A missing method
> exception has occurred.
> in <0x00046> 06 Gtk.Application:gtk_init (int,intptr)
> in <0x00027> 00 Gtk.Application:Init ()
> in <0x00011> 00 .Hello:Main ()
>
> Additionally, I see a whole bunch of pop-up errors that read:
>
> The procedure entry point g_get_application_name could not be located in the
> dynamic link library libglib-2.0.0.dll.
>
> Has anyone encountered this error in the past? Or is there something I
> should be doing which I am not?
That's because windows can't find libglib nor libgtk in your system. Try
copying those dlls to c:\winnt\system32 (for example) or adding the
directory which contains those dlls to your path.
-Gonzalo