As you have since discovered, the GetTickCount
function that you used was provided by the IdGlobal block. It had the same name as the Windows API function. The function you used is now called Ticks
. Either add Windows to your proposal to get the API function, or change your code to use the new name instead.
It seems that the name change came in 2004. You should try to be more careful about updating your Indy library. Don't just use the version that comes with Delphi - it is probably out of date before you get it. Always download the latest version from the Indy control source.
source share