ZeosLib + Delphi XE- Official Thread

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

mikep
Fresh Boarder
Fresh Boarder
Posts: 5
Joined: 17.12.2010, 10:56

ZeosLib + Delphi XE- Official Thread

Post by mikep »

First of all I'd like to say thank you for making this project possible and accessable for everybody. :)
I´m using Delphi XE (Update 1) and want to install the current Zeolib release (rev. 868).

ZCore150.bpl, ZPlain150.bpl, ZParseSQL150.bpl and ZDbc150.bpl compiles fine. [Some hints but doesn´t matter I think]

While compiling ZComponent150.bpl I recieve an error message at Line 64 in ZAbstractConnection.pas:
[DCC Fatal Error] ZAbstractConnection.pas(64): F1026 File not found: 'ZDbcAdo.dcu'

The packages doesn´t find the following "uses" files in ZAbstractConnection.pas:

ZDbcAdo,
ZDbcDbLib,
ZDbcMySql,
ZDbcPostgreSql,
ZDbcInterbase6,
ZDbcSqLite,
ZDbcOracle,
ZDbcASA,


After searching it on my harddiskdrive I found out, that there´s no such file on it.

I found ZDbcAdo.pas but no ZDbcAdo.dcu.

It seems to be an uncommon error, cause boardsearch und google dont help me anyway. [And I´m searching about an hour now]
Wish you all a lucky day,

Mike


_____________

Result:
I compiled everything and tried to install it through "Project Manager -> Install".
That was my fault.

The right way to do it:

Component -> Install Component -> Add -> Select : "ZComponentDesign150.bpl" in the build directory



It´s quite easy, if you know how to do it :)

Thank you.

Regards,

Mike
Last edited by mikep on 19.12.2010, 15:31, edited 2 times in total.
User avatar
mdaems
Zeos Project Manager
Zeos Project Manager
Posts: 2766
Joined: 20.09.2005, 15:28
Location: Brussels, Belgium
Contact:

Post by mdaems »

Seems like you didn't compile/install the dbc package.

Mark
Image
mikep
Fresh Boarder
Fresh Boarder
Posts: 5
Joined: 17.12.2010, 10:56

Post by mikep »

I love you :)

I compiled everything and tried to install it through "Project Manager -> Install".

I always get an error this way.

-----------------------------------------------

The right way to do it:

Component -> Install Component -> Add -> Select : "ZComponentDesign150.bpl" in the build directory

----------------------------------------------

By the way, I had to delete some code of "ZPgEventAlerter.pas", is this normal ?

And what is the difference if I would compile & install ZeosDbo.groupproj or ZeosDboDev.groupproj ?

I thought this revision (868) is always a "dev release" !?

----------------------------------------------
Thank you.

Regards,

Mike
User avatar
mdaems
Zeos Project Manager
Zeos Project Manager
Posts: 2766
Joined: 20.09.2005, 15:28
Location: Brussels, Belgium
Contact:

Post by mdaems »

And what is the difference if I would compile & install ZeosDbo.groupproj or ZeosDboDev.groupproj ?
ZeosDboDev also contains the test suite projects. Otherwise both groupproj files are equal.
So 'Dev' is for zeoslib project developers.

Mark
Image
tviets
Fresh Boarder
Fresh Boarder
Posts: 5
Joined: 20.12.2010, 20:20
Location: Holland
Contact:

Post by tviets »

Mark,

I,ve got also a problem with installing Zeos in DelphieXE.
After changing ver 210 to ver 220 in zeos.inc installing looked to work fine,
BUT the ZEOS Components doesn't appear in the component pallette.

What should I do???

THEO
Last edited by tviets on 24.12.2010, 16:38, edited 1 time in total.
mikep
Fresh Boarder
Fresh Boarder
Posts: 5
Joined: 17.12.2010, 10:56

Post by mikep »

First idea is quite easy.

Uninstall -> Delete the direcotory of ZeosLIB -> Download new from SVN -> Install new (Use the way I have done, look at the post above.)

Between, 210 to 220 of Zeoslib 7 for XE ?
Latest revision from the SVN: 870.
Last edited by mikep on 25.12.2010, 16:54, edited 1 time in total.
User avatar
mdaems
Zeos Project Manager
Zeos Project Manager
Posts: 2766
Joined: 20.09.2005, 15:28
Location: Brussels, Belgium
Contact:

Post by mdaems »

Theo,

Sorry, but I have no experience with the XE IDE at all. I hope others can help you...

Mark
Image
Maddin
Fresh Boarder
Fresh Boarder
Posts: 5
Joined: 26.12.2010, 16:46

Post by Maddin »

The App I'm working on was developed on Delphi 11 using ZeosLib, which worked great!
I'm trying to use ZeosLib (7 Alpha) with Delphi XE now.

I got it to run... unfortunately I'm having difficulties with DateTime Fields on an Access 2003 Database (get a field mismatch Date <-> DateTime).
I took a short dive into the Zeos src, but it appers to be more than just a tweak.

I'd like to give the latest revision on SVN a try (apparently 870?).... what do I need to do to get access?

/Martin
mikep
Fresh Boarder
Fresh Boarder
Posts: 5
Joined: 17.12.2010, 10:56

Post by mikep »

Maddin wrote: I'd like to give the latest revision on SVN a try (apparently 870?).... what do I need to do to get access?

/Martin
Follow until step 11.) .

http://zeos.firmos.at/viewtopic.php?t=841

Of course, the latest 7.0 rev. is 870.

Merry Christmas ;)
User avatar
mdaems
Zeos Project Manager
Zeos Project Manager
Posts: 2766
Joined: 20.09.2005, 15:28
Location: Brussels, Belgium
Contact:

Post by mdaems »

And, when you don't like using SVN, there's always the snapshots download from
http://zeosdownloads.firmos.at/downloads/snapshots/

Mark
Image
tviets
Fresh Boarder
Fresh Boarder
Posts: 5
Joined: 20.12.2010, 20:20
Location: Holland
Contact:

Post by tviets »

But REV 870 is not available over there. And in 840 Delphi15 (fot DelphiXE) isn't included
Maddin
Fresh Boarder
Fresh Boarder
Posts: 5
Joined: 26.12.2010, 16:46

Post by Maddin »

Mike,
thanks a lot for the link.
I'm used to use tortoise, but never through "SVN" protocol (always https).
You might want to add to your SVN tutorial, that you need the "SVN"-Port 3690 open to get this to work...(that was my problem here, but after I realized that tortoise should be working...it was easy)....
Now I got rev 870... lets see where it gets me to.

/Martin
mikep
Fresh Boarder
Fresh Boarder
Posts: 5
Joined: 17.12.2010, 10:56

Post by mikep »

Maddin wrote:Mike,
thanks a lot for the link.
I'm used to use tortoise, but never through "SVN" protocol (always https).
You might want to add to your SVN tutorial, that you need the "SVN"-Port 3690 open to get this to work...(that was my problem here, but after I realized that tortoise should be working...it was easy)....
Now I got rev 870... lets see where it gets me to.

/Martin
Hehe no problem.
mdaems is the author, all credits belong to him.

He is the only one who can edit his own post, I think he will do it asap. :)

(@mdaems, you spend time at my problem, so it is quite natural I will spend some time to help others :))

tviets wrote:But REV 870 is not available over there. And in 840 Delphi15 (fot DelphiXE) isn't included
I down- & uploaded it just for you.

Revision 873 (ZeosLib 7.0):
http://rapidshare.com/files/439581218/Z ... bBoard.zip
(Use Delphi15 Pack for DelphiXE)

Kind regards,

Mike
Last edited by mikep on 28.12.2010, 11:03, edited 1 time in total.
tviets
Fresh Boarder
Fresh Boarder
Posts: 5
Joined: 20.12.2010, 20:20
Location: Holland
Contact:

Post by tviets »

Mike,

I now use Delphi15, but now ZComponentdesign.bpl is not created.
There is an error "cannot find ZpgEventAlerter.dc"u, which looks like your problem with ZpgEventAlerter.pas. What did you change to that file?
I see there is e newer version I used 870.

THEO
Maddin
Fresh Boarder
Fresh Boarder
Posts: 5
Joined: 26.12.2010, 16:46

Post by Maddin »

Hi Theo,
I ran into the same issue.... the following modification did solve it :

1) Postgres Issue :
-----------------------
......Zeos-SVN\packages\delphi15\ZComponent.dpk
Line 59 : added : {$IFDEF ENABLE_POSTGRESQL}, ZPgEventAlerter in '..\..\src\component\ZPgEventAlerter.pas' {$ENDIF};
and
......\Zeos-SVN\src\component\ZComponentReg.pas
Line 88: added IFDEF Clause : {$IFDEF ENABLE_POSTGRESQL}, ZPgEventAlerter {$ENDIF}


/Martin
Locked