Page 1 of 1

Strange error in Rev.98

Posted: 22.08.2006, 20:23
by wildTiger
[font=Verdana]I faced this strange error while installing rev.98 of ZeosLib... After I've downloaded the .Z file, I've extracted the files and proceeded to the installation.

While it was compiling, BDS2006 stopped, pointing an error that said it wasn't able to find the file ZPlainMysql.inc. I searched the whole ZeosLib dir and, for my surprise, the file was there, exactly where it should be.

Stranger than this was that I tried to open the file with a text editor and it also poped an error message, indicating that the file was in use (sharing violation). Only after closing BDS2006 I was able to open the file in the text editor.

Any ideas on this? Currently, I'm using rev.64, that installed without problems.

One more strange thing: rev.64 also has this file, that opens without problems in the text editor. So, I tried to copy it from rev.64 to rev.98 and compile, thinking that this would solve the problem. For my surprise, after I started the compilation, the problem occured again and the file became unreadable, with the same sharing violation error that wasn't happening before.

Greetings from Brazil,
Rodrigo[/font]

Posted: 23.08.2006, 14:12
by gto
Hello!
Wow, very strange. The only references to ZPlainMysql.inc are into the ZPlainMySqlXX.pas:

Code: Select all

ZPlainMySql5.pas (529):{$I ZPlainMysql.inc}
ZPlainMySql5.pas (535):{$I ZPlainMysql.inc}
ZPlainMySql5.pas (567):{$I ZPlainMysql.inc}
ZPlainMySql40.pas (357):{$I ZPlainMysql.inc}
ZPlainMySql40.pas (363):{$I ZPlainMysql.inc}
ZPlainMySql40.pas (395):{$I ZPlainMysql.inc}
ZPlainMySql41.pas (523):{$I ZPlainMysql.inc}
ZPlainMySql41.pas (529):{$I ZPlainMysql.inc}
ZPlainMySql41.pas (561):{$I ZPlainMysql.inc}
ZPlainMySql320.pas (296):{$I ZPlainMysql.inc}
ZPlainMySql320.pas (302):{$I ZPlainMysql.inc}
ZPlainMySql320.pas (333):{$I ZPlainMysql.inc}
ZPlainMySql323.pas (301):{$I ZPlainMysql.inc}
ZPlainMySql323.pas (307):{$I ZPlainMysql.inc}
ZPlainMySql323.pas (338):{$I ZPlainMysql.inc}
Do you remove all previous versions before? Don't forget the paths and BPLs.
Other than this, no idea!

Posted: 23.08.2006, 15:43
by wildTiger
Yes, I also searched the whole code where the file was used. Have you downloaded rev.98 of Zeos? Maybe it was something in my machine. I posted mainly to see if others had the same problem or if it was something here only.

And I also removed all remaining BPL's and older source code before installing the new one. Anyway, as I said, rev.64 is working fine, and I'm still waiting if somebody else had the same problem or not.

Greetings,
Rodrigo

Posted: 23.08.2006, 17:19
by gto
Hum. Delphi 7 here, no problemo with REV98 ;)