Re: [gnome-db] mono problems



On Du, 2003-11-23 at 18:39, Rodrigo Moya wrote:
> > The code compiles, but it crashes on 
> > db_browser.Connection = dbc;
> > I don't know why. I've commented other problems inside the code.
> > 
> hmm, weird. Do you get any warning on the terminal?
$mono gnomedb-sample.exe
 
** (gnomedb-sample:5343): WARNING **: byref boolean marshalling not
inplemented
 
** (gnomedb-sample:5343): WARNING **: byref boolean marshalling not
inplemented
trying
Connected
 
Unhandled Exception: System.NullReferenceException: A null value was
found where an object instance was required
in <0x00131> GnomeDbSample.GnomeDbSample:on_connect_clicked
(object,System.EventArgs)
in <0x0005a> (wrapper delegate-invoke)
System.MulticastDelegate:invoke_void_object_EventArgs
(object,System.EventArgs)
in <0x0012b> GtkSharp.voidObjectSignal:voidObjectCallback (intptr,int)
in <0x00030> (wrapper native-to-managed)
GtkSharp.voidObjectSignal:voidObjectCallback (intptr,int)
in (unmanaged) (wrapper managed-to-native) Gtk.Application:gtk_main ()
in <0x00004> (wrapper managed-to-native) Gtk.Application:gtk_main ()
in <0x00007> Gtk.Application:Run ()
in <0x00007> Gnome.Program:Run ()
in <0x000eb> GnomeDbSample.GnomeDbSample:.ctor (string[])
in <0x00024> GnomeDbSample.GnomeDbSample:Main (string[])

If I use another widget instead of glade's, which I initialize and pack
in the box manually, it works.

-- 
Marius Andreiana
Galuna - Solutii Linux in Romania
http://www.galuna.ro




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]