Print Thread
AVs on 64-bit during high RAM usage
#62734 10/28/21 01:43 PM
Joined: Feb 2018
Posts: 16
M
Member
OP Offline
Member
M
Joined: Feb 2018
Posts: 16
Once 64-bit application allocates enough RAM that 32-bit addresses aren't enough, 64-bit addresses will be used.
There are places in DOA source code, where 32-bit addresses are assumed - in other words, pointers are cut in half.

Example (OracleData.pas):
DataEvent(deFieldChange, Longint(Field));

Meanwhile in Data.DB:
procedure DataEvent(Event: TDataEvent; Info: NativeInt);

I pinpointed other places, but I think you should investigate on your own.

Re: AVs on 64-bit during high RAM usage
Matt Ors #62736 10/29/21 09:05 AM
Joined: Aug 1999
Posts: 21,723
Member
Offline
Member
Joined: Aug 1999
Posts: 21,723
This should indeed be a NativeInt() cast. We'll fix it.


Marco Kalter
Allround Automations
Re: AVs on 64-bit during high RAM usage
Matt Ors #62739 10/29/21 11:45 AM
Joined: Feb 2018
Posts: 16
M
Member
OP Offline
Member
M
Joined: Feb 2018
Posts: 16
Can't wait for the next 4.1.3.


Moderated by  support 

Link Copied to Clipboard
Powered by UBB.threads™ PHP Forum Software 7.7.4