xml messaging

2007-03-16 Thread Kim Adil
I'm think about incorporating a communications feature into an app and I want to send xml data between my gtk/glib network connected clients. If you know of any convenient glib features or other libraries that are coded in a similar or compatible style I would appreciate the suggestion. Thanks,

Re: WinXP MSSQL C GTK+

2005-09-07 Thread Kim Adil
Alf, Here is the code of includes, and procedures that I use in my gtk application compiled on linux, xp,98 and 2000. Works well 24/7 for 2 years. code is ugly but working. Database is irrelevant, I have used it with access, sqlserver, postgresql, and mysql sucessfully. This code runs in

Gtk treeview use with large data sources

2005-09-06 Thread Kim Adil
I have been searching for some time now to figure out how to approach using gtk treeview ( with a list model) with a sql database. I am using odbc on multiple platforms , hence gnomedb is not appropriate. Ideally the scrollwindow will behave as per using the standard list model. My questions: (1)

garray beginner problem

2005-05-27 Thread Kim Adil
I am trying to figure out how to use GArray containers. This gives me rubbish in the printf output. I think it relates to how I am accessing the data nce it is in the array rather than what is stored in the array. Any comments and ideas would be appreciated. GArray *garray; garray =

gobjects, glists and arrays beginners question

2005-05-26 Thread Kim Adil
I have written a fairly comprehensive industrial display program, and would like to rewrite version 2 in a better way. In version 1 I used arrays of structs to manage various portions of the data, for example: struct machine{ gint machineNumber; gchar machineName[30]; gchar model[30];