[fpc-pascal] The unfortunate deprecation of GetTickCount
mailinglists at geldenhuys.co.uk
Thu Apr 12 08:10:13 CEST 2018
On 2018-04-11 17:44, R0b0t1 wrote:
> This is related to something I meant to propose a while ago related to
> a cross platform timing and alarm API.
That already exists in the form of EpikTimer
(https://github.com/graemeg/epiktimer). That is the latest
implementation with the permission of the original author.
It uses the highest resolution timer it can find on each platform, and
GetTickCount/GetTickCount64 as a fall-back in case no higher resolution
timer exists. High resolution timers exists for Windows, Linux and
FreeBSD - that I know of. OSX might also be implemented.
fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal
My public PGP key: http://tinyurl.com/graeme-pgp
More information about the fpc-pascal