Page 1 of 1

zeos incompability?

Posted: 20.07.2007, 15:06
by marcengo
Hello folks, does this version 6.5.1 alpha has any kind of incompability with MySQL 5.0?

Since there is no mysql_5.0 in the protocol list, and i get a bitchin error over and over times, maybe is this the problem? Or the generic protocol mysql should get no problems?!

The message error is:
[C++ Error] ZPlainAdo.hpp(516): E2040 Declaration terminated incorrectly
The problem is at the line 512 of ZPlainAdo.hpp and thats the content of it:
#pragma option pop
__property Word EOF = {read=_scw_Get_EOF};



And the only thing diferent from the server where i work at, and this new one is the mysql version.


Thanks in advanced

Posted: 23.07.2007, 10:45
by mdaems
marcengo, why aren't you using version 6.6.x? This version has the mysql5.0 protocol included.

Mark

Posted: 18.12.2007, 11:46
by gcr
Hi,

Have you find any solution ?

A have migrated a old application using BDE to ZeosLib from C++ Builder 6.0 (with all update) and i have the same error message.

My version used is 6.6.2-rc
I using Oracle but the user can be changed by another like ado if he want.

Thank you for your big database solution.
gcr

Posted: 18.12.2007, 22:53
by mdaems

Posted: 19.12.2007, 09:11
by gcr
Thank you, this problem is now solved.

Your solution is very good.

Posted: 19.12.2007, 11:58
by mdaems
To be honest: I don't understand half of it. It was just an old post I remembered. The search engine did the other part of the job.
Concerning the solution : is there something we should change in the released code to avoid this problem? If you changed something, can you tell us what? So we can add it to the codebase.

Mark

Posted: 21.12.2007, 08:38
by gcr
The problem not come from ZeosLib but own code using #include <stdio.h> before the include of file of ZeosLib.

Now, this work like a 'charm'

thank you.
gilles