Casting with TULargeInteger in delphi 10.2 Tokyo differ from previous version

Viewed 1633

Casting with TULargeInteger with new compiler 10.2 missing attribut LowPart and HighPart.

uses Winapi.Windows;

    function RetLargeInt: Int64;
    var
      ALow: DWORD;

    begin
      {Do Something
        With ALow
      }
      TULargeInteger(Result).LowPart := ALow; {Missing 'LowPart'}
    end;

    procedure AProc;
    var
     ALocalInt: Int64;
    begin
      ALocalInt := RetLargeInt;
      {Do Something}
    end;
1 Answers
Related