[Gtk-sharp-list] Re: gtk-sharp on .NET

Jae Stutzman jae@stutzman.net
12 Apr 2003 14:36:06 -0500


Thanks for sending me the right direction. It is now working under W2K.

What I was actually trying to do was get the old ImageViewer by Duncan
to work with the new GTK# bindings...now it does.

What I actually had to to was copy libgdk_pixbuf-2.0.0.dll to
gdk_pixbuf-2.0 (without the extra .0 and .dll extension) If I just
renamed it, I got another error message that libgtk-win32-2.0.0.dll
could not load!

But then when I tried to open another image I got another error
message...this time libgtksharpglue.so could not be loaded; so I copied
the gtksharpglue.dll to it and bingo. I've tested it with .jpg, .bmp,
and .png files.

A few things I noticed:

1. looks like some naming issues for dll and so need to be cleaned up.
(I can help in this area if needed)

2. If I opened several files in a row eventually gtk-sharp.dll throws a
System.Runtime.InteropServices.SEHException. (I have not investigated
furthur)

But it is a good start for me!

Jae

On Sat, 2003-04-12 at 13:37, Gonzalo Paniagua Javier wrote:
> El sáb, 12 de 04 de 2003 a las 20:23, Jae Stutzman escribió:
> > One thing I've noticed is there seems to be problems with Pixbuf under
> > .NET. There error says:
> > Unhandled exception in gdk-sharp.dll
> > Unable to load gdk_pixbuf-2.0
> > 
> > this is strange 'cause the libgdk_pixbuf-2.0.dll is in the lib directory
> > and other lib* seem to be loading find with other things.
> 
> Try renaming it to gdk_pixbuf-2.0.dll.
> 
> -Gonzalo
> 
> 
> _______________________________________________
> Gtk-sharp-list maillist  -  Gtk-sharp-list@lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/gtk-sharp-list
-- 
Jae Stutzman <jae@stutzman.net>