Page 1 of 2

ZeosLib + Delphi XE- Official Thread

Posted: 17.12.2010, 13:02
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

Posted: 17.12.2010, 21:00
by mdaems
Seems like you didn't compile/install the dbc package.

Mark

Posted: 18.12.2010, 02:37
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

Posted: 20.12.2010, 20:59
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

Posted: 24.12.2010, 12:55
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

Posted: 24.12.2010, 16:38
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.

Posted: 25.12.2010, 08:54
by mdaems
Theo,

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

Mark

Posted: 26.12.2010, 17:05
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

Posted: 26.12.2010, 20:48
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 ;)

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

Mark

Posted: 27.12.2010, 10:18
by tviets
But REV 870 is not available over there. And in 840 Delphi15 (fot DelphiXE) isn't included

Posted: 27.12.2010, 10:25
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

Posted: 28.12.2010, 01:16
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

Posted: 28.12.2010, 08:18
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

Posted: 28.12.2010, 11:02
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