Patch for ZEOS LIB to be 64 BITS

Code patches written by our users to solve certain "problems" that were not solved, yet.

Moderators: gto, cipto_kh, EgonHugeist, mdaems

Fresh Boarder
Fresh Boarder
Posts: 3
Joined: 06.03.2009, 17:53

Patch for ZEOS LIB to be 64 BITS

Postby matthius » 13.07.2009, 10:24

There is i think a mistake for ZEOS to Be 64 bits compliant.

At procedure TZAbstractRODataset.SetFieldData(Field: TField; Buffer: Pointer);

There is the good sample :

if not (State in [dsCalcFields, dsFilter, dsNewValue]) then
DataEvent(deFieldChange, PtrInt(Field));

PtrInt is chosen for the architecture, Integer 32 or 64.
Longint is 32 bits and was the mistake.

User avatar
Zeos Project Manager
Zeos Project Manager
Posts: 2766
Joined: 20.09.2005, 15:28
Location: Brussels, Belgium

Postby mdaems » 24.07.2009, 23:34

Is that the only change that's needed? Can you provide a complete patch file?


Expert Boarder
Expert Boarder
Posts: 113
Joined: 06.10.2006, 14:41
Location: Chapecó - Santa Catarina

Postby papelhigienico » 09.10.2011, 00:19

matthius, where you found this mistake? I did the "port" of zeos to 64 bits and I did all replacements for this kind of casting, but maybe I forgot something.

Return to “User Patches”

Who is online

Users browsing this forum: No registered users and 1 guest