[gtkada] Strange behavior of a working program

Emmanuel Briot briot at gnat.com
Wed Jan 3 12:24:52 CET 2001


Jeff Carter writes:
 > Machine A is an AMD K6-2 3D-Now! 400 MHz, 64 MB ram, Win98, GNAT 3.13p.
 > Machine B is a P133, 32 MB ram, Win95, GNAT 3.12p.
 > 
 > I have developed a program with a fairly complex window on machine A. It
 > runs fine. A friend has also compiled and run it on a Linux box with
 > 1.2.10. If I copy the executable from machine A to machine B, the
 > window's title bar and border appear for a few seconds, after which the
 > program terminates silently.
 > 
 > If I compile the program on machine B, no sign of the window appears.
 > The program runs silently for a few seconds before terminating silently.


The difference of version for GNAT might explain the problem. In fact, I
thought that GtkAda no longer compiled with GNAT 3.12, but I might be wrong
and might mix things with other projects.
I would recommend that you update your version of GNAT on machine B.

Also, you are not using tasking, I expect ? I believe that Win98 has improved
a lot for the support of multithreading over Win95 (even it is still much
worse than NT).

These are just wild guesses, and without seeing the exact sources of the
program it might be hard to understand why (and even with the sources :-)

regards,
Emmanuel




More information about the gtkada mailing list