Page 1 of 1

install issue with XE5 and ZEOSDBO-7.1.3a-stable

Posted: 05.02.2014, 23:47
by blotfib
Hi
I first followed the previous topic and commented in the
Zcore.dpk
// ZFastCode in '..\..\src\core\ZFastCode.pas',
then the 4 bpl comiled well but the ZComponent190.bpl refuses :

[dcc32 Erreur fatale] ZAbstractConnection.pas(62): F1026 Fichier introuvable : 'C:\Program Files (x86)\Embarcadero\RAD Studio\12.0\lib\coolcomp\Zeosdbo\packages\src\plain\ZDbcAdo.dcu'

ZDbcAdo.dcu is not generated by compiling ZDbc190.bpl , why ?

Thanks

Re: install issue with XE5 and ZEOSDBO-7.1.3a-stable

Posted: 05.02.2014, 23:58
by EgonHugeist
Remove ZFastCode.pas from your ZCore package.

Nobody of the team has such a new compiler ... It was a user-constibution patch who used Zeos7.2 propable.

I did remove the ZFastCode referance on SVN now. Patch done R3098 \testing-7.2

Thanks for the hint.

Re: install issue with XE5 and ZEOSDBO-7.1.3a-stable

Posted: 06.02.2014, 00:57
by blotfib
I already commented the file
Zcore, ZParseSQL, ZPlain, ZDbc compile
but ZComponent refuses as stated in my previous msg.

miab3 has XE5 Delphi (see http://zeoslib.sourceforge.net/viewtopi ... 38&t=10819)

best

Re: install issue with XE5 and ZEOSDBO-7.1.3a-stable

Posted: 06.02.2014, 01:49
by miab3
@blotfib

Why do you think so?
I just know a bit about Delphi (and ZEOS).
The other hand we asked several times for help owners Delpi XE4 and XE5 in improving packages.

Michal

Re: install issue with XE5 and ZEOSDBO-7.1.3a-stable

Posted: 06.02.2014, 08:57
by blotfib
@Michal
Sorry, I thought you have already experienced the install issue on XE5

Do you have any idea about how I can install the 7.1.3a on my XE5 ?
(see 1st post)

Thanks a lot

Re: install issue with XE5 and ZEOSDBO-7.1.3a-stable

Posted: 06.02.2014, 13:31
by miab3
@blotfib

Try to install only with:

ZCore.dpk
ZParseSql.dpk
ZPlain.dpk
ZDbc.dpk
ZComponent.dpk
ZComponentDesign.dpk
and ZPackages.inc


after setting the paths and other options for different compilers in "Options..." for each dpk.
Add: You should also set the paths for the environment Delphi IDE in "Library"

Michal

Re: install issue with XE5 and ZEOSDBO-7.1.3a-stable

Posted: 06.02.2014, 14:04
by blotfib
I managed to compile and install
to compile, I modified 3 .dpk and some sources to avoid including some units and adding ones in others
it seems that dbc files where not compiled in dbc package, whereas they are mentionned in plain and used in componenets...
Now that compilation is ok and installation works but there is no Design componenent added :-(
ie ZComponentDesign190.bpl is about 59 kO ! too small
this problem already was here with version 7.0.3 and XE3 and EgonHugeist helped me one year ago to solve it, I will try to find the way to do it...

I 'll keep you informed and will send you the src/package files.zip

best regards

Re: install issue with XE5 and ZEOSDBO-7.1.3a-stable

Posted: 06.02.2014, 14:33
by miab3
@blotfib

Indeed.
Something is not good with dpk DXE3-DXE5.
I include an attachment with dpk to DXE2 which I use.
For other versions need to be corrected {$ LIBSUFFIX '160 '}
ZEOS713a_DPK_XE2.zip
Try this and post your version of how you succeed.

Michal

Re: install issue with XE5 and ZEOSDBO-7.1.3a-stable

Posted: 06.02.2014, 14:42
by blotfib
must also modify the ZComponentDesign.dpk
there were no contains...
I dont know why this error is still here, we have done its correction in version 7.0.3...

Code: Select all

requires
  dbrtl,
  designide,
  ZParseSql,
  ZCore,
  ZPlain,
  ZDbc;

[b]contains
  ZComponentReg in '..\..\src\component\ZComponentReg.pas',
  ZPropertyEditor in '..\..\src\component\ZPropertyEditor.pas',
  ZUpdateSqlEditor in '..\..\src\component\ZUpdateSqlEditor.pas';
[/b]
end.
but even with that, the compoenenets are there, but when trying to use them, connexion for example (at conception not run), it fails :
:
[2FFC482F]{ZDbc190.bpl } ZDbcIntfs.TZDriverManager.GetConnectionWithParams$qqrx20System.UnicodeStringp23System.Classes.TStrings (Line 1086, "ZDbcIntfs.pas" + 3) + $14
[2F9903BD]{ZComponentDesign190.bpl} ZAbstractConnection.TZAbstractConnection.Connect$qqrv (Line 849, "ZAbstractConnection.pas" + 34) + $2B
[2F98FB7C]{ZComponentDesign190.bpl} ZAbstractConnection.TZAbstractConnection.SetConnected$qqro (Line 511, "ZAbstractConnection.pas" + 8) + $5
[5012832A]{rtl190.bpl } System.TypInfo.SetOrdProp (Line 2587, "System.TypInfo.pas" + 25) + $1
[2110BA52]{designide190.bpl} DesignEditors.TPropertyEditor.SetOrdValue (Line 839, "DesignEditors.pas" + 2) + $E
[2110CC8B]{designide190.bpl} DesignEditors.TEnumProperty.SetValue (Line 1408, "DesignEditors.pas" + 5) + $4
[2110B70D]{designide190.bpl} DesignEditors.TPropertyEditor.Edit (Line 669, "DesignEditors.pas" + 11) + $14
[20913142]{coreide190.bpl} PropInsp.TPropertyInspector.PropListEditDblClick (Line 877, "PropInsp.pas" + 18) + $12
[212A4539]{vclide190.bpl} IDEInspListBox.TInspListBox.DoEditDblClick (Line 620, "IDEInspListBox.pas" + 2) + $A
[212A5DBE]{vclide190.bpl} IDEInspListBox.TInspListBox.EditDblClick (Line 1192, "IDEInspListBox.pas" + 0) + $2
[504630BD]{vcl190.bpl } Vcl.Controls.TControl.DblClick (Line 7345, "Vcl.Controls.pas" + 1) + $14
[50463238]{vcl190.bpl } Vcl.Controls.TControl.WMLButtonDblClk (Line 7388, "Vcl.Controls.pas" + 4) + $C
[50462B49]{vcl190.bpl } Vcl.Controls.TControl.WndProc (Line 7224, "Vcl.Controls.pas" + 91) + $6
[50467669]{vcl190.bpl } Vcl.Controls.TWinControl.WndProc (Line 10039, "Vcl.Controls.pas" + 153) + $6
[5005FB14]{rtl190.bpl } System.TMonitor.TryEnter (Line 17402, "System.pas" + 10) + $0
[5005F694]{rtl190.bpl } System.TMonitor.Enter (Line 17095, "System.pas" + 4) + $2
[5005F518]{rtl190.bpl } System.TMonitor.CheckOwningThread (Line 17013, "System.pas" + 2) + $0
[5005F822]{rtl190.bpl } System.TMonitor.Exit (Line 17199, "System.pas" + 1) + $2
[5005F873]{rtl190.bpl } System.TMonitor.Exit (Line 17221, "System.pas" + 2) + $7
[50444B5B]{vcl190.bpl } Vcl.Graphics.FreeMemoryContexts (Line 7047, "Vcl.Graphics.pas" + 12) + $8
[50466CAC]{vcl190.bpl } Vcl.Controls.TWinControl.MainWndProc (Line 9751, "Vcl.Controls.pas" + 3) + $6
[50466CC1]{vcl190.bpl } Vcl.Controls.TWinControl.MainWndProc (Line 9754, "Vcl.Controls.pas" + 6) + $0
[50466EEC]{vcl190.bpl } Vcl.Controls.TWinControl.IsControlMouseMsg (Line 9815, "Vcl.Controls.pas" + 9) + $25
[50467669]{vcl190.bpl } Vcl.Controls.TWinControl.WndProc (Line 10039, "Vcl.Controls.pas" + 153) + $6
[212A3C9B]{vclide190.bpl} IDEInspListBox.TPropInspEdit.WndProc (Line 361, "IDEInspListBox.pas" + 7) + $4
[50466CAC]{vcl190.bpl } Vcl.Controls.TWinControl.MainWndProc (Line 9751, "Vcl.Controls.pas" + 3) + $6
[501749C4]{rtl190.bpl } System.Classes.StdWndProc (Line 17010, "System.Classes.pas" + 5) + $0
[50590DC3]{vcl190.bpl } Vcl.Forms.TApplication.ProcessMessage (Line 10288, "Vcl.Forms.pas" + 23) + $1
[50590E06]{vcl190.bpl } Vcl.Forms.TApplication.HandleMessage (Line 10318, "Vcl.Forms.pas" + 1) + $4
[50591141]{vcl190.bpl } Vcl.Forms.TApplication.Run (Line 10456, "Vcl.Forms.pas" + 26) + $3

Re: install issue with XE5 and ZEOSDBO-7.1.3a-stable

Posted: 06.02.2014, 14:52
by miab3
@blotfib,

Have you tried with my dpk?

Michal

Re: install issue with XE5 and ZEOSDBO-7.1.3a-stable

Posted: 06.02.2014, 14:59
by blotfib
miab3 wrote:@blotfib

Indeed.
Something is not good with dpk DXE3-DXE5.
I include an attachment with dpk to DXE2 which I use.
For other versions need to be corrected {$ LIBSUFFIX '160 '}
ZEOS713a_DPK_XE2.zip
Try this and post your version of how you succeed.

Michal
ok I am trying
what is : {$OVERFLOWCHECKS OFF} and {$RANGECHECKS OFF}
which are ON in the XE5 version ?

ok, it compiles, install
And it works great


here is the modified dpk fo XE5

How to install ZEOSDBO-7.1.3a-stable on XE5 Delpand C++ Bui

Posted: 06.02.2014, 15:35
by blotfib
ZeosLib pour XE5.0

Download the ZEOSDBO-7.1.3a-stable
modify the dpk files by mine (see previous post)

Modify options for Allprojects if you want to use them in C++ Builder
Générer tous les fichiers C++Builder (notamment les bibliothèques de packages)
to generate hpp and lib files... it goes in : c:\Users\Public\Documents\RAD Studio\12.0\Dcp\ and hpp

then compile and install components

alos modify th HPP for C++ Builder because there will be an error :
[bcc32 Erreur] ZAbstractRODataset.hpp(355): E2015 Ambiguïté
Fix it as :
inline int __fastcall PSExecuteStatement(const System::UnicodeString ASQL, Data::Db::TParams* AParams){ return Data::Db::TDataSet::PSExecuteStatement(ASQL, AParams, NULL); }

Add
ZComponent.lib to your C++ project and Connect to your DB !
best

Re: install issue with XE5 and ZEOSDBO-7.1.3a-stable

Posted: 06.02.2014, 17:59
by miab3
@blotfib,

Do you not tried the Win 64-bit C++ compiler, because I think it should be in XE5?

Michal

Re: install issue with XE5 and ZEOSDBO-7.1.3a-stable

Posted: 19.02.2014, 01:44
by blotfib
Sorry for the delay
No I have not tried 64 bits
Can't say if it works or not.
The problem is that I have already reported the installation fail on XE3 (look for my older posts last year), I gave a solution but it was not integrated.
Thanks for integrating the corrections mentionned in my post for future release.
Best regards

Re: install issue with XE5 and ZEOSDBO-7.1.4-stable.zip

Posted: 05.06.2015, 07:14
by blotfib
Hi

Same problem as before for C++ components, they don't appear in C++ design, even if they are registred in Delphi
so to deal with that
one must modify the options of all the projects, before compiling
Générer tous les fichiers C++Builder (notamment les bibliothèques de packages)
to generate hpp and lib files... they goes in : c:\Users\Public\Documents\RAD Studio\12.0\Dcp\ and hpp

then when you install the design components, they appear in the C++ design components as well as Delphi one.

You also have to add the c:\Users\Public\Documents\RAD Studio\12.0\hpp dir to the include search of your proect

best
Lotfi