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

Alvaro A. Ramirez alramire@syr.edu
11 Apr 2003 22:43:26 -0400

Thanks for everyone's responses. The actual problem had to do with the
fact that "iconv.dll" and "libintl-1.dll" were not included. I just had
to put these in the same directory as my application. These dll's were
found in the mono installer. Should these be included in the gtk-sharp
installer as well? just a thought. 



On Fri, 2003-04-11 at 17:49, yoros@wanadoo.es wrote:
> On Fri, Apr 11, 2003 at 05:27:42PM -0400, Alvaro A. Ramirez wrote:
> > Hello. I have been trying to use gtk-sharp on windows, without any
> > success. Mote that I am trying to use .NET platform withough cygwin. I
> > installed gtk-sharp fron the windows installer found in the web page. I
> > can compile, but I get a runtime exception: 
> > 
> > An unhandled exception of type 'System.DllNotFoundException' occurred in
> > gtk-sharp.dll
> > 
> > Additional information: Unable to load DLL (libgtk-win32-2.0-0.dll).
> > 
> > I have already added references in the Visual Studio solution to
> > atk-sharp.dll, gdk-sharp.dll, gli-sharp.dll, gtk-sharp.dll. However, if
> > I try adding a reference tp libgtk-win32-2.0-0.dll it tells me that it
> > is not a valid assembly or COM component. Therefore, I cannot added.
> > Anyone experienced this before? Should I shift to sharp-develop? Any
> > recommendations? 
> Hello,
> You are going near the right way :). You don't have to add reference for
> "libgtk-win32-2.0-0.dll". You only have to reference "*-sharp.dll"
> assemblies that contains all necesary for compiling.
> For running applications compiled with gtk, I advise you that the
> initial way is to put all the assemblies of gtk and dlls needed by your
> application in the same directory that the whole application is.
> You can obtain right compiled libraries from:
> 	"http://gtk-sharp.sourceforge.net"
> There is a precompiled package for windows, I have tested it and works
> well.
> Regards,
>     Pedro