Page 1 of 1

NOT SOLVED Weird errors installing Zeos rv.966+XE2 UP3

Posted: 11.01.2012, 13:12
by marcosnt
Good morning, I decided to create a topic with my question rather than an answer because apparently I'm only having this problem with the installation of the Zeos XE2, following versions:

XE2 Delphi 3 Update

Rev. Zeos 966.

When I try to build all, got the error ENDIF, which I believe is the conversion problem after I have the problem of lack ComObg.dcu then System.Win.ComObj.dcu substitute for, at this point and the problem is resolved.

Build all packages except the ZComponent, with a strange error I can not solve:

[DCC Error] ZDbcAdoResultSet.pas (191): E2064 Left side can not be assigned to
[DCC Error] ZDbcAdoResultSet.pas (233): E2064 Left side can not be assigned to
[DCC Warning] ZDbcAdoResultSet.pas (371): W1058 Implicit string cast with potential data loss from 'OleVariant' to 'AnsiString'
[DCC Warning] ZDbcAdoResultSet.pas (688): W1058 Implicit string cast with potential data loss from 'variant' to 'AnsiString'
[DCC Fatal Error] ZDbcAdoStatement.pas (542): F2063 Could not compile used unit 'ZDbcAdoResultSet.pas'
Failed
Elapsed time: 00:00:00.6


This error indicates this line of code:

Inc (Integer (prgInfo), sizeof (TDBColumnInfo));

I used the manual in PDF format exactly as it is written by Bernhard: http://www.delphipraxis.net/164241-delp ... ation.html

My concern is that apparently only I am having these errors, can someone help me? unfortunately the company wants a quick refresher and need only install the Zeos to follow up our work.

Thanks for the help. Sorry my English.

Posted: 11.01.2012, 14:22
by marcosnt
Just Change:

Inc (Integer (prgInfo)

To

Inc(NativeInt

There are other parts of the code with Inc (), just replace Integer by NativeInt.

Source: http://stackoverflow.com/questions/7694 ... -64bit-xe2

Posted: 11.01.2012, 18:39
by marcosnt
Strange, now I understand why the error, he is trying to compile on 64bit, since it is the whole NativeInt in 64bit. But how can this happen if this to compile in 32bits in bpl​​? This can not compile the ComponentDesigner since it requires the designide.dcp (which is 32bit). Can anyone help me?

Posted: 04.03.2012, 13:11
by EgonHugeist
Do you have success?

Best regards

Egonhugeist