Problems with project compilation with Zeos componets

Forum related to all other 6.x versions of ZeosLib's DBOs

Moderators: gto, cipto_kh, EgonHugeist

georg275
Fresh Boarder
Fresh Boarder
Posts: 1
Joined: 22.01.2011, 01:52
Contact:

Problems with project compilation with Zeos componets

Postby georg275 » 22.01.2011, 02:00

Hi! I'm trying to compile project with ZeosLib components. But compiler find strange errors in libraries. By example:


[C++ Error] ZPlainAdo.hpp(516): E2040 Declaration terminated incorrectly


on row

#pragma option pop
__property Word EOF = {read=_scw_Get_EOF};



or

[C++ Error] oledb.h(2920): E2015 Ambiguity between 'DBROWCOUNT' and 'Zplaindblibdriver::DBROWCOUNT'

on rows

virtual HRESULT STDMETHODCALLTYPE GetNextRows(
/* [in] */ HCHAPTER hReserved,
/* [in] */ DBROWOFFSET lRowsOffset,
/* [in] */ DBROWCOUNT cRows,
/* [out] */ DBCOUNTITEM __RPC_FAR *pcRowsObtained,
/* [size_is][size_is][out] */ HROW __RPC_FAR *__RPC_FAR *prghRows) = 0;

Version of ZeosLib is 6.6.3. It's enough put one component TZconnection on the form, for receive these errors. More strange, that if I create new project with one form and put some components of ZeosLib, it compiles without such problems.

jjeffman
Senior Boarder
Senior Boarder
Posts: 56
Joined: 25.08.2005, 12:40
Location: Porto Alegre
Contact:

I hope you have solved the problem

Postby jjeffman » 18.04.2013, 14:59

Probably you have ADO components on your application. I think Zeos do not get along with ADO components.

Best regards.
Jayme Jeffman Filho

DBA, Software Engineer
Sul Engenharia e Sistema Ltda

http://www.sulenge.com.br


Return to “Other 6.x Versions”

Who is online

Users browsing this forum: No registered users and 1 guest