PtrInt is used two places in dbf.pas for typecasting to a pointer, but in dbf_common.pas it is defined as LongInt. I have changed it (at least locally) to {$ifdef Delphi_XE} PtrInt = NativeInt; {$else} PtrInt = Longint; {$endif} It looks like it fixes the bug here, but has such a bug really been there for a long time? Any comments?
Is it possible to actually fix it in this non-lazarus version ? So future users can download a version, where it has been changed.
PING. Anybody with rights to make edits, who care to fix this? I have just tested and my application still breaks in the same place as 3 years ago, unless I make the edit listed in my first post.
Yes, it does, thank you. It is in its essence the same fix. I also notice runtime packages in 10.4 carry the name Tokyo. It should be Sydney.
Inside \packages\delphi104\tdbf.dpk file.
If I download a snapshot, it still contains "Tokyo" for file \packages\Delphi104\tdbf.dpk. It is only \packages\Delphi104\dcltdbf.dpk, which has the "Sydney" text.
Yes, it is fixed now.
https://sourceforge.net/projects/tdbf/ Click "code" Click "download snapshot" That gives me a zip file: tdbf-code-r843-trunk.zip Inside that zip file the tdbf.dpk for delphi 10.4 is from 24-8-2020 dbf.pas is from 3-3-2023