[fpc-pascal]Strange problems with MySQL ...

Rainer Hantsch rainer at hantsch.co.at
Wed Jul 3 19:03:26 CEST 2002

Hello, everybody!

Primarily for my own use, I wrote a nice, little invoicing program in FPC
1.0.4. It uses the MySQL libraries.

While this program works smoothly when compiled on SuSE 6.4 or 7.0, I got
problems when compiling and running it on SuSE 8.0. The program worked, but on
exit I always got an exception error.

Finally I copied all lib* files from /usr/lib/mysql/ from the SuSE 7.0 machine
into my program's source-dir and recompiled it again. (So I forced the usage
of the older libraries which I also used on SuSE 7.0.) -- And voila, the
program doesn't crash any more!

Because it cannot be the solution to use now and forever old libraries, I want
to ask if somebody also had this problem and could fix it.

ps.: I program in OOP style, and NOT with classes.


  Ing. Rainer Hantsch

      \\|//           Ing. Rainer HANTSCH  -  Hardware + Software
      (o o)           Forget Windoze! -- We focus on L-I-N-U-X...
Ing. Rainer HANTSCH  |  e-Mail: office at hantsch.co.at
Khunngasse 21/20     |  www   : http://www.hantsch.co.at
A-1030 Vienna        |  Tel.  : ++43 - 1 - 7988538 0 
---------------------|  Fax   : ++43 - 1 - 7988538 18
** AUSTRIA **        |  Mobile: ++43 - 664 - 9194382

More information about the fpc-pascal mailing list