Page 1 of 1

Compile error Zeos V713 and Delphi 2010

Posted: 21.10.2009, 17:50
by kerino
Hi,
I've just upgraded from Delphi 5 to Delphi 2010 (on WinXP), and have downloaded the zeos 713 snapshot, which am trying to compile.
I can compile the ZCore.dpk and ZPlain.dpk OK, but the ZParsSQL and ZDBC both give errors:-
Undeclared identifier "ttTime", "ttDate" and "ttDateTime"
I've set the library path to ..\packages\delphi14 and ..\packages\delphi14\build, so I'm sort of stuck now, and I'm still finding my way round Delphi 2010.
Can anyone help please?
Many thanks

Posted: 24.10.2009, 14:42
by mdaems
I think the problem may be some leftover dcu's, bpl's ,... from D5.

Mark

Posted: 26.10.2009, 13:40
by kerino
Thanks very much for the tip.
I had already deleted the Borland folder, but I then looked in the registry and found lots of references to Delphi5 which I removed, and I can now compile OK :D
One curious thing is that I had to add a path to the $(BDSCOMMONDIR)\Bpl folder, because the compiled dcu files were put in there instead of the Dcu folder, as I would have expected.
Thanks again

Posted: 04.11.2009, 13:47
by B@RT
delphi 2010 w/o update 1, zeos rev713.

I dont install component:

[DCC Error] ZDbcCache.pas(621): E2010 Incompatible types: 'AnsiChar' and 'Char'