Re: [gnome-db] GDA/GNOME-DB in Mono
- From: Rodrigo Moya <rodrigo gnome-db org>
- To: Daniel Espinosa <esodan gmail com>
- Cc: gnome-db-list gnome org, mono-devel-list lists ximian com
- Subject: Re: [gnome-db] GDA/GNOME-DB in Mono
- Date: Mon, 28 Aug 2006 13:42:10 +0200
it would be better probably if you send mono questions to the gtk-sharp
list. They'll be able to help better than us. In fact, we have the mono
bindings in our source tree because they were moved from GTK#, so it
would be nice to have them working.
On Tue, 2006-08-22 at 19:25 -0500, Daniel Espinosa wrote:
> Ok for today the Gda bindings to Mono doesn't exist becouse a *bug* in
> GDA before 1.2.x series; but for today GDA and GNOME-DB has be powered
> with GValue instead of GdaValue (that couses the that *bug*), this is
> a development version toward the 2.0 release, now I thing could work
> but I have a lot of issues to make test it:
>
> GDA#:
>
> - In the code generated by GTK#, doesn't generate a init function for
> GDA (gda_init), then you can't use the library (like in GLib), now
> then I copied a Aplication.cs file from Gnome-Db# that implements it,
> and modify the MakeFile.am to include in the DLL used by MonoDevelop,
> now I have this function and can init
>
> - After that I need to Run the main loop (like GTK) to manage GDA's
> GObject events and do my program work in a function called as an
> argument of the Run function, the function created by codegenerator is
> this:
>
> Gda.Main.Run(Gda.InitFunc init_func)
>
> and InitFunc is defined as:
>
> namespace Gda {
>
> using System;
>
> public delegate void InitFunc();
>
> }
>
> Does any one could help me about how do I define a custum InitFunc to
> make my program run *inside* the main loop and how to pass it as an
> argument to Gda.InitFunc?
>
> In the Gda documentation, you call a init function in order to run
> your program with a correctly initated libgda.
>
> GNOME-DB#:
>
> - In CVS, the current gnomedb-sharp is broken becouse it doesn't
> generated any code and ofcourse any DLL to use in MonoDevelope.
>
> - I modifed some errors in MakeFile.am and configure.in, and now the
> code is generated but the compiler sends the following messages:
>
> generated/Form.cs(11,20): error CS8025: Parsing error
> generated/Grid.cs(11,20): error CS8025: Parsing error
> generated/Layout.cs(11,22): error CS8025: Parsing error
> generated/Matrix.cs(11,22): error CS8025: Parsing error
> generated/Server.cs(11,22): error CS8025: Parsing error
>
>
> Does any one know what it means?
>
> The code generated in (11,20) is (a coma ','):
>
> #region Autogenerated code
> public class Grid, GnomeDb.DataWidget {
>
> ~Grid()
> {
> Dispose();
> }
>
> (.....)
>
> --
> Trabajar, la mejor arma para tu superación
> "de grano en grano, se hace la arena" (R) (entrámite, pero para los
> cuates: LIBRE)
> _______________________________________________
> gnome-db-list mailing list
> gnome-db-list gnome org
> http://mail.gnome.org/mailman/listinfo/gnome-db-list
--
Rodrigo Moya <rodrigo gnome-db org>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]