Error after updating to TMS FMX UI Pack v3.7.6.0

I get the following errors on compiling my project after updating.
[dcc64 Error] FMX.UXlsRangeRecords.pas(115): E2010 Incompatible types: 'TObject' and 'PExcelRange'
[dcc64 Fatal Error] FMX.UXlsCondFmt.pas(572): F2063 Could not compile used unit 'FMX.UXlsRangeRecords.pas'

Here is the procedure in question. There could be lots more.
procedure TRangeValuesList.CopyFrom( const RVL: TRangeValuesList);
var
i: integer;
R: PExcelRange;
begin
for i:=0 to RVL.Count-1 do
begin
New(R);
try
R^:=PExcelRange(RVL[i])^;
Add(R);
except
{$IFNDEF DELPHIXE13_LVL}
FreeAndNil(R);
{$ENDIF}
raise;
end; //except
end;
end;

Can you please help? I am using Delphi 10.4 patch 2.

Thank you

Hi,

That's strange because nothing has changed in the xlsAdapter folder for TMS FMX UI Pack. We don't have a compiler issue here. Could this be specific for RAD Studio 10.4.2?

I have found the problem. My program was also pointing to the xlsadapter folder and this contains an old version (June 2020) of FMX.UXlsRangeRecords.pas. The FMX.UXlsRangeRecords.dcu copy in the Delphi104Sydney/win64/release (which I point to into the delphi library) does work and is dated May 2021. So once I removed the xlsadapter folder from my library it all worked fine. Although I had to copy fmx.emptysheet.res into the Delphi104Sydney/win64/release to make it work fully.

Cheers, Donald.