Zeos on XE2?

The alpha/beta tester's forum for ZeosLib 7.0.x series

Report problems concerning our Delphi 2009+ version and new Zeoslib 7.0 features here.

This is a forum that will be removed once the 7.X version goes into stable!!

Moderators: gto, EgonHugeist, olehs

jeremicm
Senior Boarder
Senior Boarder
Posts: 61
Joined: 18.10.2006, 17:07
Contact:

Zeos on XE2?

Post by jeremicm »

XE2 is here, with 64b compiler... anyone tried to install zeos on new rad studio yet?
Lidael
Fresh Boarder
Fresh Boarder
Posts: 6
Joined: 18.03.2011, 16:21

Post by Lidael »

I have some should-be-working packages on my local machine. I'm not finished with the OS X lib stuff, and unfortunatly the field-test license did run out, so i need to grab the trial to test. So give me some days more. MySQL was working in a simple testprogramm.
berndvf
Fresh Boarder
Fresh Boarder
Posts: 4
Joined: 12.09.2011, 21:56

Post by berndvf »

I am trying to compile in Delphi XE2 Starter but I am having problems with ZDbcADOResultSet.pas. It seems that the parameters for IColumnsInfo.GetColumnInfo have changed but because I am on Starter I can't see the source :( Has anyone had any luck with this ?
berndvf
Fresh Boarder
Fresh Boarder
Posts: 4
Joined: 12.09.2011, 21:56

Post by berndvf »

I have got it compiling in Delphi Starter XE2. Here is a patch for rev 935: http://www.summerswell.co.za/wp-content ... phixe2.zip if anyone needs it
User avatar
mdaems
Zeos Project Manager
Zeos Project Manager
Posts: 2766
Joined: 20.09.2005, 15:28
Location: Brussels, Belgium
Contact:

Post by mdaems »

berndvf,

I did commit part of your changes (SVN rev 936):
- The packages directory
- component/ZAbstractRODataset.pas
[s]- core/ZSysUtils.pas[/s] (The TZSortedList.Sort change doesn't compile on fpc)
- dbc/ZDbcAdoResultSet.pas (With extra compiler directive in uses clause)
- dbc/ZDbcAdoStatement.pas
- Zeos.inc

Is this change in ZSysUtils.pas really needed for XE2?
If you don't mind changing the build scripts to include this new compiler, please change, test and send us an additional patch file.

Mark
Image
berndvf
Fresh Boarder
Fresh Boarder
Posts: 4
Joined: 12.09.2011, 21:56

Post by berndvf »

Hi Mark,

Apologies, I forgot to add compiler directive for the ZSysUtils. It was giving an error about the parameters not matching, hence the change. Unfortunately with only having the Starter Edition I can't go any deeper into the RTL to see if there is a change there. I will investigate this some more. I will have a look at the build scripts later today.

Bernd
bernhard
Junior Boarder
Junior Boarder
Posts: 26
Joined: 22.10.2009, 21:49

Post by bernhard »

would also like to use ZEOS with DELPHI XE2 .

is it possible to get a bit more info how to use the patch ??? or
use https://zeoslib.svn.sourceforge.net/svnroot/zeoslib zeoslib and I can already compile ?

64bit compile any chance ???
berndvf
Fresh Boarder
Fresh Boarder
Posts: 4
Joined: 12.09.2011, 21:56

Post by berndvf »

Hi Mark,

Regarding ZSysUtils, looking at the documentation it looks like previously it was a PPointerList ( http://docwiki.embarcadero.com/VCL/XE/e ... TList.List ) whereas now in Delphi XE2 it is a TPointerList ( http://docwiki.embarcadero.com/VCL/en/C ... TList.List ). I have updated the ZSysUtils with a compiler directive for XE2.

I've updated the build scripts as best I can, but because Starter has no command line compiler I can't test whether its working for XE2. Not sure whether I need to update the "build_template.properties" file, but it looks like the last change was for Delphi12.

Let me know if there is anything else that I can do.

Bernd
You do not have the required permissions to view the files attached to this post.
bernhard
Junior Boarder
Junior Boarder
Posts: 26
Joined: 22.10.2009, 21:49

Post by bernhard »

I may do some evaluation with my very new Delphi XE2 enterprise version
:D :D
a) is https://zeoslib.svn.sourceforge.net/svnroot/zeoslib the link to download the latest version of ZEOS ???
:?:
b) any hints / advise for compiling that library ?
seawolf
Zeos Dev Team *
Zeos Dev Team *
Posts: 385
Joined: 04.06.2008, 19:50
Contact:

Post by seawolf »

svn repo is https://zeoslib.svn.sourceforge.net/svnroot/zeoslib
XE2 changes are under branches testing
User avatar
mdaems
Zeos Project Manager
Zeos Project Manager
Posts: 2766
Joined: 20.09.2005, 15:28
Location: Brussels, Belgium
Contact:

Post by mdaems »

bernhard,

You can test now. The second patch has been applied in rev. 937 on https://zeoslib.svn.sourceforge.net/svn ... es/testing

Mark
Image
bernhard
Junior Boarder
Junior Boarder
Posts: 26
Joined: 22.10.2009, 21:49

Post by bernhard »

after download from SVN I used testing\packages\delphi16\ZEOSDboDev,

compile seems to be fine but I can't install the components

ZCore160.bpl (compile& Build OK)
ZPlain160.bpl (compile& Build OK)
ZparseSql160.bpl (compile& Build OK)
ZDBc _XE2160.bpl (compile& Build OK)
ZComponentr_XE2160.bpl - here cant compile

just add search path \testing\packackes\delphi16\ does not solve ,
my compiler always claims I did not build ZDbc

all searchpathes are set to \build\ directory
seawolf
Zeos Dev Team *
Zeos Dev Team *
Posts: 385
Joined: 04.06.2008, 19:50
Contact:

Post by seawolf »

Those packages

ZDBc _XE2160.bpl (compile& Build OK)
ZComponentr_XE2160.bpl - here cant compile

Should not exists, thus I can't understand which ZEOSDboDev
are you using ... I suppose you have a previous version of Zeos lib
already installed, or attach your ZeosDboDev, in order to check where
is the error
bernhard
Junior Boarder
Junior Boarder
Posts: 26
Joined: 22.10.2009, 21:49

Post by bernhard »

on http://www.delphipraxis.net/164241-delp ... ation.html i made a short docu on my success installing ZEOS 7.0.0 with Delphi XE2,

The zcomponent.pas had a bug, there is one {$endid} which I had to remove prior to the installation
jeremicm
Senior Boarder
Senior Boarder
Posts: 61
Joined: 18.10.2006, 17:07
Contact:

Post by jeremicm »

bernhard wrote:after download from SVN I used testing\packages\delphi16\ZEOSDboDev,

compile seems to be fine but I can't install the components

ZCore160.bpl (compile& Build OK)
ZPlain160.bpl (compile& Build OK)
ZparseSql160.bpl (compile& Build OK)
ZDBc _XE2160.bpl (compile& Build OK)
ZComponentr_XE2160.bpl - here cant compile

just add search path \testing\packackes\delphi16\ does not solve ,
my compiler always claims I did not build ZDbc

all searchpathes are set to \build\ directory
This is an error in project conversion... Delete all zeos downloaded files, download them again and open ZeosDBO project group.

When You are asked to convert projects to new version, just chose "Convert in place (no backup)" or something like that...

If delphi don't ask you that, you can turn this option in "tools/options/project upgrading".
Locked