Intalling Zeos7 on Delphi7

The stable tester's forum for ZeosLib 7.0.x series

Report problems concerning our Delphi 2009+ version and new Zeoslib 7.0 features here.
Post Reply
contecavour65
Fresh Boarder
Fresh Boarder
Posts: 3
Joined: 26.04.2013, 11:49

Intalling Zeos7 on Delphi7

Post by contecavour65 »

HI, i try to install Zeos7 in Delphi, but i obtain some errors:

Build
[Hint] ZDbcSqLiteStatement.pas(327): Variable 'TempStream' is declared but never used in 'TZSQLitePreparedStatement.PrepareAnsiSQLParam'
[Hint] ZGenericSqlAnalyser.pas(633): Value assigned to 'CurrentType' never used
[Warning] ZDbcConnection.pas(763): Return value of function 'TZAbstractConnection.PingServer' might be undefined
[Hint] ZDbcMySqlResultSet.pas(932): Variable 'Statement' is declared but never used in 'TZMySQLCachedResolver.UpdateAutoIncrementFields'
[Hint] ZDbcMySqlResultSet.pas(933): Variable 'ResultSet' is declared but never used in 'TZMySQLCachedResolver.UpdateAutoIncrementFields'
[Warning] ZDbcMySqlMetadata.pas(1049): Return value of function 'TZMySQLDatabaseMetadata.GetColumns' might be undefined
[Warning] ZDbcASAResultSet.pas(801): Suspicious typecast of WideString to PAnsiChar
[Error] ZURL.pas(137): Undeclared identifier: 'LineEnding'
[Error] ZURL.pas(384): Undeclared identifier: 'LineEnding'
[Fatal Error] ZDbcPooled.pas(69): Could not compile used unit 'ZURL.pas'

Whats the problem?
marsupilami
Platinum Boarder
Platinum Boarder
Posts: 1935
Joined: 17.01.2011, 14:17

Post by marsupilami »

Hello contecavour65,

which version of Delphi do you use? Do you use the packages to install Zeos? If so - in which package does the error happen?
Best regards,

Jan
contecavour65
Fresh Boarder
Fresh Boarder
Posts: 3
Joined: 26.04.2013, 11:49

Post by contecavour65 »

Delphi7,
I had open ZeosDbo.bpg and i have click on Build All.
It compiles all packages but not ZComponentDesign.dpk and give me the error that i posted
marsupilami
Platinum Boarder
Platinum Boarder
Posts: 1935
Joined: 17.01.2011, 14:17

Post by marsupilami »

Hello contecavour65,

I checked out the latest version of Zeos 7.0 from svn://svn.code.sf.net/p/zeoslib/code-0/branches/7.0-patches and built all the packages in Delphi 7 from top to bottom without problems.
Do you maybe use an older Version or the latest Beta? Could you try to checkout and compile the above svn-Version?
Best regards,

Jan
contecavour65
Fresh Boarder
Fresh Boarder
Posts: 3
Joined: 26.04.2013, 11:49

Post by contecavour65 »

Hi Jan.
I've found the problem.
i had emoved Zeos 6.5 from the IDe, but there were the path in the library path in the environment ta.

I think that Delphi found 2 files in 2 different path and 6.5 were before 7.o, then the erroro. I think

I have removed the 6.5 path from environment and all works.

Nic
Post Reply