[IronPython] Glade

Phillip Neumann bob at sofsis.cl
Tue Sep 28 19:13:54 CEST 2004


Hm... this will fix the problem:


<ln -s  libglade-2.0.so.0 libglade-2.0-0.dll>

;)...  it seems that it thinks im on windows somehow..

anyway...

i wrote a class in C#:

#FirstFile.cs
namespace BaseDatos{
	public class basedatos{
		balblablablabla
	}
}


How would i load that class in ironpython so i can use that logic?

thank you very much!




El mar, 28-09-2004 a las 16:51, Phillip Neumann escribió:
> Hello...
> 
> Im still trying to use Glade!:..
> 
> 
> look:
> 
> 
> import System
> import sys
> from Gtk import *
> sys.LoadAssemblyFromFile('/usr/local/lib/mono/gtk-sharp/glade-sharp.dll')
> import Glade
> 
> xml = Glade.XML("gui.glade", "window1",None)
> System.DllNotFoundException: libglade-2.0-0.dll
> in <0x00053> (wrapper managed-to-native) Glade.XML:glade_xml_new
> (string,string,string)
> in <0x00062> Glade.XML:.ctor (string,string,string)
> in (unmanaged) (wrapper managed-to-native)
> System.Reflection.MonoCMethod:InternalInvoke (object,object[])
> in <0x00004> (wrapper managed-to-native)
> System.Reflection.MonoCMethod:InternalInvoke (object,object[])
> in <0x00097> System.Reflection.MonoCMethod:Invoke
> (object,System.Reflection.BindingFlags,System.Reflection.Binder,object[],System.Globalization.CultureInfo)
> 
> 
> Why is this happening?.. what is that libglade-2.0.0.dll file?...
> 
> 
> 
> thanks you very much.
-- 
Phillip Neumann <bob at sofsis.cl>




More information about the Ironpython-users mailing list