Page 1 of 1

Intalling Zeos7 on Delphi7

Posted: 26.04.2013, 11:55
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?

Posted: 27.04.2013, 15:13
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

Posted: 27.04.2013, 16:00
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

Posted: 02.05.2013, 08:06
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

Posted: 02.05.2013, 13:23
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