Page 1 of 1

trouble with D2005, List&Labels10 and Zeos 6.5.1

Posted: 14.11.2005, 23:36
by Mac
Hi!

I'm using Delphi 2005 with all avaible updates and List&Labels 10.
I changed from ODBC/BDE to Zeos. The Program has an exe File and some dynamic loaded dll Files. All are using Zeos, combit and so bpl Files.
The DBMS is MySQL 4.1

Every operation works fine, until i have printed something. I can repeat printing in that part of the program. Then i close that part and its cleaned out from memory. Another part now fails with an unknown Database error, which would run fine if I hadn't printed something.
The printing process uses one or two simple Query Operations and sets the fields with their data. I am not using any special DB Components in List&Labels.

It seems that the DB Connection is lost in some parts and can't be recovered.

Is there someone else having similar problems?

Thanks
Mac

resolved....

Posted: 20.11.2005, 18:02
by Mac
I found the problem...
I have separated my program into directories. In the Working Directory is an ini File which contains the Database Data to connect.
Combit does change the working directory, so my program tries to read the ini File from another directory...

stupid fault.... :roll: