Am 06.08.2014 07:50 schrieb "Richard Mace" <[email protected]>: > > Hi, > Does anyone know why the following code returns the correct days uptime in XP, but doesn't in Windows 8? (not tested in anything other)
Just in case: you know that Windows 8 does not really shutdown by default, but merely suspends to provide a faster "user experience"? So the result returned by GetTickCount will not be what you might expect. Also on Unix systems it won't work as GetTickCount is linked up with a date/time based function there. Regards, Sven
-- _______________________________________________ Lazarus mailing list [email protected] http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
