#1 2015-03-13 13:35:11

alpinistbg
Member
Registered: 2014-11-12
Posts: 124

SynSSPIAuth.pas gets linked against kernel32.dll's GetTickCount64

It seems strange for me because it uses SynCommons.pas which does it's best to overcome the issue, but it struck me hard when I tried to start the executable on Windows Server 2003 R2. Works fine with SSPIAUTH definition removed from mORMot.pas.

Offline

#2 2015-03-13 16:29:09

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

Re: SynSSPIAuth.pas gets linked against kernel32.dll's GetTickCount64

I've ensured SynCommons.GetTickCount64 is used in SynSSPIAuth.pas, and not the version in Windows.pas.
See http://synopse.info/fossil/info/36ccbf02db

The reference in "uses" to Windows.pas should be done before SynCommons.pas, so that the "dynamic" version of GetTickCount64 would be used.

Thanks for the feedback.

Offline

Board footer

Powered by FluxBB