Search code examples
delphifiremonkey

Where is GetTickCount declared in Firemonkey?


I am using multi device in Delphi and I am building an android app. I need to use GetTickCount that was declared in Windows .

Does it exist somewhere in firemonkey or is there an alternative ?


Solution

  • GetTickCount is a Windows function and so does not exist on other platforms. For your cross platform needs you should use TStopWatch from System.Diagnostics.