#1 2014-04-04 02:24:58

moctes
Member
From: Mexico
Registered: 2013-05-11
Posts: 129

Undeclared identifier: 'GetTickCount64'

Running the Project14ServerHttpWeak on Delphi XE I'm getting this error with the latest nightly build:

[DCC Error] SynSSPIAuth.pas(300): E2003 Undeclared identifier: 'GetTickCount64'

The same project runs fine on Delphi 2007 and XE3

Also TestSQL3 fails on 2 tests for TDocVariant.

I'm not working at the moment on mORMot on XE, just downloaded the latest source and ran the Test and sample project 14 on all the versions of Delphi I have access to, so this is only FYI

Regards,
Mocte

Last edited by moctes (2014-04-04 02:25:28)

Offline

#2 2014-04-05 07:13:33

ab
Administrator
From: France
Registered: 2010-06-21
Posts: 14,661
Website

Re: Undeclared identifier: 'GetTickCount64'

I do not understand, since function GetTickCount64() is always defined in SynCommons.pas, even for Delphi XE.

Are you sure you replaced all source code as expected, or that there is no source folder configuration issue for Delphi XE?

Perhaps a compiler regression for this version.
May you try changing the line with GetTickCount64() instead of GetTickCount ?

Offline

Board footer

Powered by FluxBB