Page 3 of 3

Posted: 25.02.2013, 07:09
by EgonHugeist
no problem Hans-Dieter.

Do i understand you right -> The packages are fine now? Can i commit them?

@Miab3

Michal, can you explain me the purpose of your additional project-group? Btw. we had a team discussion accordingly your packages. We broke with them because of the missing defines for the protocols. If a user wants pure PostgreSQL-support, than he can comment all other defines to compile only Postgre -> minior code to compile..

Posted: 25.02.2013, 13:56
by hde
sorry Milchae, still I have problems and at the moment quite stress
hde

Posted: 26.02.2013, 01:38
by hde
sorry Michael,
unfortunately, I could look only now after XE3. now zcore is OK, zparse, zplain, zdbc and zcomponent not. Win32 release and win64 will compile with package 160.
hde

Posted: 26.02.2013, 10:28
by blotfib
Hi again

using the .zip installation I provided in my previous post, I succed in installing Zeos for XE3 Delphi and C++
both work in conception (connect to DB MySQL) but if for Delphi the pogram compiles and runs well, for C++ it gives a compilation fault :

I included all the paths...
but the pb is an ambiguity between :
[bcc32 Erreur] ZAbstractRODataset.hpp(343):
E2015 Ambiguïté entre '_fastcall Data::Db::TDataSet::PSExecuteStatement(const System::UnicodeString,Data::Db::TParams *) at c:\program files (x86)\embarcadero\rad studio\10.0\include\windows\rtl\Data.DB.hpp:3144'
et
'_fastcall Data::Db::TDataSet::PSExecuteStatement(const System::UnicodeString,Data::Db::TParams *,void *) at c:\program files (x86)\embarcadero\rad studio\10.0\include\windows\rtl\Data.DB.hpp:3146'

I eliminated one of the two PSExecutesStatement(...) , it compiles but refuses to link, saying that ZAbstractDataset.obj is missing
???

Thanks for your kind help

Lotfi

EDITED :
to eliminate the pb, adding the .lib is not enough, you should and a third parameter in the call PSExecuteStatement(ASQL, AParams, NULL)
of the file ZAbstractRODataset.hpp
found it on http://www.devrace.com/ru/support/forum ... 16&TID=889

Code: Select all

	inline int __fastcall  PSExecuteStatement(const System::UnicodeString ASQL, Data::Db::TParams* AParams){ return Data::Db::TDataSet::PSExecuteStatement(ASQL, AParams, NULL); }
	inline int __fastcall  PSExecuteStatement(const System::UnicodeString ASQL, Data::Db::TParams* AParams, Data::Db::TDataSet* &ResultSet){ return Data::Db::TDataSet::PSExecuteStatement(ASQL, AParams, ResultSet); }

Posted: 26.02.2013, 11:52
by miab3
EgonHugeist,

I only posted my DXE2 version that works for me without problems. It may be useful to someone.

Michal

Posted: 26.02.2013, 16:14
by blotfib
I solved the linking error by including the ZComponent.Lib into the project to build
The file is produced at installation in dfautl forlder :
c:\Users\Public\Documents\RAD Studio\10.0\Dcp\

Hope it helps :)
blotfib wrote:Hi again

using the .zip installation I provided in my previous post, I succed in installing Zeos for XE3 Delphi and C++
both work in conception (connect to DB MySQL) but if for Delphi the pogram compiles and runs well, for C++ it gives a compilation fault :

I included all the paths...
but the pb is an ambiguity between :
[bcc32 Erreur] ZAbstractRODataset.hpp(343):
E2015 Ambiguïté entre '_fastcall Data::Db::TDataSet::PSExecuteStatement(const System::UnicodeString,Data::Db::TParams *) at c:\program files (x86)\embarcadero\rad studio\10.0\include\windows\rtl\Data.DB.hpp:3144'
et
'_fastcall Data::Db::TDataSet::PSExecuteStatement(const System::UnicodeString,Data::Db::TParams *,void *) at c:\program files (x86)\embarcadero\rad studio\10.0\include\windows\rtl\Data.DB.hpp:3146'

I eliminated one of the two PSExecutesStatement(...) , it compiles but refuses to link, saying that ZAbstractDataset.obj is missing
???

Thanks for your kind help

Lotfi

Posted: 28.02.2013, 01:12
by hde
with me the installation is possible under Delphi XE3 still only for Win32-debug, all the other variations try to compile package 160
hde

Posted: 01.03.2013, 23:56
by hde
once again - an installation from 7.0.3 under dephi XE3 is with me only possibly for Win32-debug. all the other variations try to compile the package 160.

Posted: 05.03.2013, 20:50
by blotfib
Sorry I didn't try the 64 bits, I only tested in 32 bits (default)
but the XE3 C++ version works also in W32 as I claimed

Posted: 28.03.2013, 13:25
by philnext
blotfib wrote:ACTUALLY
I am installing from XE2 not XE3 so I have ZcomponeentDesign160.bpl R-click : Install
....

registration of components is needed
do you know how can I handle this ?
Some informations on the post : http://zeos.firmos.at/viewtopic.php?t=3708