Page 1 of 2

Can't install on BDS/Delphi 2006

Posted: 08.12.2005, 01:13
by CG2003
Hello,

I'm now havin BDS 2006 and I tried to install the Zeos 6.5.1 in it.
I selected the D9-Package. Everything works fine, but when I try to compile and install the ZComponent Packge the Compiler stops at "TLoginEvent". How can I solve this problem.

I hope you can help me.

Best regards,

CG2003

Posted: 08.12.2005, 19:48
by gto
:shock:
2006 already!?
put some more details dude! :)
[]'s

Posted: 08.12.2005, 20:48
by CG2003
OK, I start Delphi 2006 for Win32.

I open the "ZeosDbo.bdsgroup" from the "delphi9" directory.
I can compile/install the "ZCore.bpl", "ZParseSql.bpl", "ZPlain.bpl" and "ZDbc.bpl" packages.

But when I try to compile/install the last Package "ZComponent.bpl", I get the following error:


"[Pascal Error] ZConnection.pas(107): E2003 Undeclared identifier: 'TLoginEvent'
[Pascal Warning] ZAbstractRODataset.pas(310): W1000 Symbol 'PSGetTableName' is deprecated
[Pascal Warning] ZAbstractRODataset.pas(311): W1000 Symbol 'PSGetQuoteChar' is deprecated
[Pascal Warning] ZAbstractRODataset.pas(320): W1000 Symbol 'PSGetKeyFields' is deprecated
[Pascal Fatal Error] ZAbstractRODataset.pas(384): F2063 Could not compile used unit '..\..\src\component\ZDatasetUtils.pas'"


that's in the Unit "ZConnection".


I hope anybody can help me...

Posted: 09.12.2005, 11:04
by zippo
Remove all the BPLs and source, recopy the package, add the paths and recompile - maybe it is a Zeos version conflict problem.

Posted: 09.12.2005, 13:21
by Michael
Hi CG2003,

I ordered my D2006 Updatge, yesterday 8). If it's installed on my workstation I will be able to tell you more til then try as zippo writes.

Regards.

Posted: 09.12.2005, 18:43
by CG2003
@zippo: Sorry, but that's not working. Already the same error!

@Michael: Thanks. That would be great... ;-)

Posted: 09.12.2005, 19:23
by tygrys
Hi,
to solve this issue please add

Code: Select all

DBCommonTypes
into uses clause in ZConnection.pas
The definition of TLoginEvent has been moved here from db unit.

This worked for me.

tygrys

Posted: 09.12.2005, 19:37
by Michael
:thx: I'll try it when I've got my D2006 ;-) and then I will create the packages asap.

Posted: 09.12.2005, 21:45
by CG2003
Hmmm, that works, BUT:

Now I get the following error:

[Pascal Error] ZAbstractRODataset.pas(2932): E2072 Number of elements (38) differs from declaration (42)

in Unit "ZAbstractRODataset.pas".

The compiler stops @ line 2931.


Any idea???

Posted: 09.12.2005, 23:26
by tygrys
Just add whatever 4 entries to the list at the end. Or, to be more acurate, find the same list in this file which is proprly filled and copy/paste.

tygrys

Posted: 10.12.2005, 00:55
by CG2003
Yes, that works fine! Thanks!!!

@ Michael: I hope I'll get the D2006 packages?!?!?! ~smile~

Posted: 10.12.2005, 01:15
by CG2003
Great, the components / packages are installed, but now I have a big problem.

I have an application, with a TZTable and a TZConnection.
Everything works fine, when I compile it under Delphi 7, but when I compile it under Delphi 2006 I get an error:

"TestTable: Cannot modify a read-only dataset".

But in the object-inspector the property "ReadOnly" is "False".

What should I do???

Posted: 10.12.2005, 10:04
by tygrys
If you use Delphi 7 and 2006 on the same machine, be sure not to have the path enviroment variable pointing to files in delphi's 7 bpl directory, there could be a conflict.

tygrys

Posted: 10.12.2005, 10:40
by CG2003
No, I have uninstalled Delphi 7 and Delphi 2006 and reinstalled Delphi 2006. But the same problem...

Posted: 11.12.2005, 16:25
by CG2003
No idea???