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
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.
Inside \packages\delphi104\tdbf.dpk file.
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.
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.
I have just found out SSL isn't required, I can just port 25 instead, so the problem is kind of solved.
We have changed SMTP server and it requires SSL. I have changed the server settings (host, port etc), but as soon as I change SmtpForceSSL = 1, the whole site stops working. Are there additional files that need to be installed?
Is it possible to actually fix it in this non-lazarus version ? So future users can download a version, where it has been changed.
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?
I'll continue this when I have a better internet connection, because the one at this...
The Delphi main demo has a gr32_misc unit, which uses to gr32_vpr, but that unit...
AppendRecord and InsertRecord fails in XE3 and 7.0. It works in D7 and 6.91. No error...