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

The alpha/beta tester's forum for ZeosLib 7.0.x series

Report problems concerning our Delphi 2009+ version and new Zeoslib 7.0 features here.

This is a forum that will be removed once the 7.X version goes into stable!!

Moderators: gto, EgonHugeist, olehs

Locked
marcosnt
Fresh Boarder
Fresh Boarder
Posts: 4
Joined: 09.01.2012, 03:48

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

Post 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.
Last edited by marcosnt on 11.01.2012, 18:36, edited 1 time in total.
marcosnt
Fresh Boarder
Fresh Boarder
Posts: 4
Joined: 09.01.2012, 03:48

Post 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
marcosnt
Fresh Boarder
Fresh Boarder
Posts: 4
Joined: 09.01.2012, 03:48

Post 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?
User avatar
EgonHugeist
Zeos Project Manager
Zeos Project Manager
Posts: 1936
Joined: 31.03.2011, 22:38

Post by EgonHugeist »

Do you have success?

Best regards

Egonhugeist
Best regards, Michael

You want to help? http://zeoslib.sourceforge.net/viewtopic.php?f=4&t=3671
You found a (possible) bug? Use the new bugtracker dude! http://sourceforge.net/p/zeoslib/tickets/

Image
Locked