It says undeclared identifier qword (i'm using delphi 7)
Sadly, I haven't used Delphi 7 for a long long time. It may have a "getTickCount" function.
But, as trev suggests, there may be better forums for you, out there.
I'd suggest doing a search for "Delphi timer" or similar and see where that leads you.
cheers
S.