zeos incompability?

Forum related to version 6.5.1 (alpha) and 6.6.x (beta) of ZeosLib's DBOs

Moderators: gto, cipto_kh, EgonHugeist

Post Reply
marcengo
Fresh Boarder
Fresh Boarder
Posts: 3
Joined: 20.07.2007, 14:56
Location: Curitiba/PR

zeos incompability?

Post 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
User avatar
mdaems
Zeos Project Manager
Zeos Project Manager
Posts: 2766
Joined: 20.09.2005, 15:28
Location: Brussels, Belgium
Contact:

Post by mdaems »

marcengo, why aren't you using version 6.6.x? This version has the mysql5.0 protocol included.

Mark
gcr
Fresh Boarder
Fresh Boarder
Posts: 15
Joined: 18.12.2007, 11:30

Post 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
User avatar
mdaems
Zeos Project Manager
Zeos Project Manager
Posts: 2766
Joined: 20.09.2005, 15:28
Location: Brussels, Belgium
Contact:

Post by mdaems »

Image
gcr
Fresh Boarder
Fresh Boarder
Posts: 15
Joined: 18.12.2007, 11:30

Post by gcr »

Thank you, this problem is now solved.

Your solution is very good.
User avatar
mdaems
Zeos Project Manager
Zeos Project Manager
Posts: 2766
Joined: 20.09.2005, 15:28
Location: Brussels, Belgium
Contact:

Post 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
Image
gcr
Fresh Boarder
Fresh Boarder
Posts: 15
Joined: 18.12.2007, 11:30

Post 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
Post Reply