[gtkada] Problems running testgtk.
Jeffrey D. Cherry
jeffrey.cherry at verizon.net
Tue Jun 20 09:32:29 CEST 2006
On 20 Jun 2006 at 8:50, Arnaud Charlet wrote:
> > I'd like to use GtkAda on a couple of projects, but these errors concern me.
>
> What kind of project, could you tell us more about them ?
>
The two projects that I have in mind are currently "console applications" where
their input comes from command line parameters and the output goes to either a
file or standard output. I'd like to put a graphical interface on them and
enhance one of them with additional capabilities.
The first is an application that reads in a set of up to about a dozen text
files. Each file is generated by different sources and their format varies
somewhat, but basically, each file contains event information, including a time
stamp, message identifier, and message. The input files are rather large and
the times aren't always in chronological order. The application reads these
files, parses the information, sorts the messages in each file into
chronological order, then merges all the sorted message files into a master
event list. The output is an HTML file with each message colored according to
its original source. Some additional analysis is performed on the messages to
flag problems.
The second application generates status reports. The source information for
the status report is from seven files that contain information about one or
more "projects". The information is read from each file, parsed as necessary,
and then output into an HTML file where each project's data is put into a
different HTML table. Links are inserted as necessary to link one project's
table to the previous week's table for that same project (this is a weekly
report). This is the application I would like to enhance quite a bit to make
it easier to enter status information and generate the reports. I'd like for
the application to allow individuals to enter their status information directly
into the program rather than save it in an intermediate form (such as a text
file or a word processor document). The status data can then be saved into a
database, from which the HTML reports could be generated. I'm figuring that
MySQL could be the database and that the GtkAda editor widget could allow
people to enter their information.
> > Is there a way to identify a particular ".dll" file in a particular directory
> > in order for the application to not depend on the system path?
>
> That's really a Windows question, not a GtkAda question. AFAIK, the
> answer is no, but maybe someone on a Windows specific forum will have different
> info.
I thought that might be the case. I'll check some other Windows resources to
answer this question. Thanks for pointing me in the right direction.
>
> > linker option pragma? Is the cause of the access violation error due to a
> > problem with Gtk or the testgtk application? Is the GLib error due to a
> > problem in GLib, or is it because of a problem running under my operating
> > system?
>
> The GLib error is likely due to the gtkextra widget which is not fully
> up-to-date, and isn't a general issue with GLib. If you do not need to use
> this widget, then you won't have this
> error. Otherwise, the CVS sources contain a more up-to-date gtkextra
> set of sources.
Sounds good. I can work around that until the widget gets up-to-date. Thanks.
>
> Arno
More information about the gtkada
mailing list