Cannot install in Delphi5

Forum related to version 6.5.1 (alpha) and 6.6.x (beta) of ZeosLib's DBOs

Moderators: gto, cipto_kh, EgonHugeist

Post Reply
ErikL
Fresh Boarder
Fresh Boarder
Posts: 7
Joined: 28.12.2005, 16:13

Cannot install in Delphi5

Post by ErikL »

Has anyone ever tried to install the latest zeosdbo in Delphi5?

I had to make several change to the source code:
For example: unit dateutils, types, variants all not exist in D5.

Anyway, eventually the source compiled ok.

Then tried to install the ZComponents.bpl and got this error message:

"The procedure entry point @Db@TdataSet@InternalPost$qqrv could not be located in the dynamic link library Vcldb50.bpl."

Has anyone from the development team an idea?

I really need the new version especially when the MySQL5 support arrives..

Thanks for this great product!
MarkusD
Zeos Dev Team
Zeos Dev Team
Posts: 20
Joined: 28.08.2005, 03:40
Location: Ingolstadt

Post by MarkusD »

Hello ErikL,

perhaps you can post your changes and i can see what i can do. ( Don't have D5 on my machine at the moment, but the cd should be there anywhere and integrating them in cvs would also help i think). Did you check that you tried to install the recompiled version of ZComponents.bpl not some old one?
I've seen this message only when the bpl was compiled with not fitting versions of vcl units.

Best Regards,
Markus Dütting
ErikL
Fresh Boarder
Fresh Boarder
Posts: 7
Joined: 28.12.2005, 16:13

Cannot install in D5

Post by ErikL »

Hello Markus,
Thanks for the reply. I removed all old sources and bpl and tried it again,
same result.
This is not a new problem however, I found an older message reporting the same error.
Is support for Delphi5 discontinued?

Thanks for this great product, Regards, ErikL
ErikL
Fresh Boarder
Fresh Boarder
Posts: 7
Joined: 28.12.2005, 16:13

cannot install in D5: The Solution

Post by ErikL »

in unit src\component\ZAbstractRODataset.pas

method InternalPost looks like this:

procedure TZAbstractRODataset.InternalPost;
begin
{$IFNDEF FPC}
inherited;
{$ENDIF}
if not (Self is TZAbstractDataset) then
RaiseReadOnlyError;
end;

The solution is to remove the 'inherited' line, then ZComponent installs ok in D5

question to Zeos developers: any remarks?

Thanks for this great software.
PS when can we expect sqlite3 support?

ErikL
Zevang
Fresh Boarder
Fresh Boarder
Posts: 12
Joined: 25.11.2005, 17:36

Post by Zevang »

Hi all,

The solution I adopted was to install the Zeos 6.5.1 alpha 2004 version (the latest of that year, I guess). Apparently that's the one which works with D5.

Zevang
Corvux
Fresh Boarder
Fresh Boarder
Posts: 1
Joined: 08.02.2006, 22:03

Post by Corvux »

Dear Friends,

Apparantly the latest alpha version (i.e. zeosdbo-6.5.1-alpha_cvs_13-10-2005.zip) does not contain ZCommon5, ZDbware5 and vcldb packages required for ZDbCtrls5 package.

Is there any fix for this or I'm doing something stupid? Regards
jhyams
Fresh Boarder
Fresh Boarder
Posts: 4
Joined: 13.03.2006, 11:05

Cannot install in Delphi 5

Post by jhyams »

I cannot install into Delphi 5. There is a required file dateutils which does not exist. I then tried the other suggest of installing the earlier 2004 version but this won't work either because when you install ZComponent you get an error saying [various things] have already been registered by package ZDbware.
gto
Zeos Dev Team
Zeos Dev Team
Posts: 278
Joined: 11.11.2005, 18:35
Location: Porto Alegre / Brasil

Re: Cannot install in Delphi 5

Post by gto »

jhyams wrote:I cannot install into Delphi 5. There is a required file dateutils which does not exist. I then tried the other suggest of installing the earlier 2004 version but this won't work either because when you install ZComponent you get an error saying [various things] have already been registered by package ZDbware.
You must remove everything related to zeos that you already has installed, like BPLs, library paths, DCUs, everything. It's a pain to find out that a lost BPL into some directory make all that things, but it's true.
Use the FU!!!!!IN Google !

gto's Zeos Quick Start Guide

Te Amo Taís!
Post Reply