【发布时间】:2011-10-28 05:11:15
【问题描述】:
我正在尝试从 Delphi 6 迁移到 Delphi 2010,但在 Delphi 2010 中找不到 GetTickCount 函数。我的 uses 子句中有 IdGlobal、SysUtils 和 DateUtils。
var
RefreshTick : Cardinal;
begin
RefreshTick := GetTickCount;
end;
它给了我一个错误:
未声明的标识符:GetTickCount
有什么替代方法?
【问题讨论】: