【发布时间】:2017-10-28 21:20:37
【问题描述】:
使用 TULargeInteger 进行转换,新编译器 10.2 缺少属性 LowPart 和 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;
【问题讨论】:
-
或者使用 Int64Rec