Zeos on a 64 bit computer

In this forum we will discuss things relating the ZEOSLib 6.6.x stable versions

Moderators: gto, EgonHugeist

Post Reply
thaimann
Fresh Boarder
Fresh Boarder
Posts: 14
Joined: 26.07.2010, 15:18

Zeos on a 64 bit computer

Post by thaimann »

What steps do I have to do to get a Lazarus/Zeos app to run on a Linux 64 box?

I am currently running FC14-64. The app runs on my 32 bit FC-12 laptop.

Thx, Terry
rayanAyar
Fresh Boarder
Fresh Boarder
Posts: 13
Joined: 02.07.2010, 04:26

Post by rayanAyar »

thaimann
Fresh Boarder
Fresh Boarder
Posts: 14
Joined: 26.07.2010, 15:18

Post by thaimann »

I don't know what ZDbcCache is or where I make these changes.


In ZDbcCache :

TZRowBuffer = packed record
Index: SizeInt;
UpdateType: TZRowUpdateType;
BookmarkFlag: Byte;
Columns: TByteArray;
end;

In ZAbstractRODataset :

Index of TZRowBuffer must be 64 bits compliant
Setting Index forcing the integer to be SizeInt
Like this
.Index := SizeInt ( RowNo );

In ZAbstractRODataset Always :
Another part wich is good like this :
if not (State in [dsCalcFields, dsFilter, dsNewValue]) then
DataEvent(deFieldChange, PtrInt(Field)); ch is good like this :
if not (State in [dsCalcFields, dsFilter, dsNewValue]) then
DataEvent(deFieldChange, PtrInt(Field));
Post Reply