[Gtk-sharp-list] GDA/Gnome-DB on Mono
Daniel Espinosa
esodan at gmail.com
Mon Aug 28 18:49:29 EDT 2006
Hi all, could any help me about how do I need to do in order to make GDA and
Gnome-Db work in mono?
For today I modified some Makefile.am and configure.in in order to make
GAPI2 generate the code and compile (just for GDA at the moment).
For GDA, it creates the gda-sharp.dll file and could be used by monodevelop,
but in order to create a simple connection and get some data I wrote the
following code:
Gda.Client client = new Gda.Cliente;
Gda.Connection cnn = client.OpenConnection("data_source", "user", "pass",
Gda.ConnectionOptions.ReadOnly);
if ( cnn.IsOpen) {
....
}
when I run this progra, it compiles well but send the following error:
Unhandled Exception: System.EntryPointNotfoundException:
gda_connection_is_open
at (wrapper managed-to-native) Gda.Connection:gada_connection_is_open
(intptr)
at Gda.Connectgion.get_IsOpen() [0x0000]
at MainClass.Main (System.String[] args) [0x00024] in ....
Any Idea?
--
Trabajar, la mejor arma para tu superación
"de grano en grano, se hace la arena" (R) (entrámite, pero para los cuates:
LIBRE)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/gtk-sharp-list/attachments/20060828/f4598d37/attachment.html
More information about the Gtk-sharp-list
mailing list