<p>Am 06.08.2014 07:50 schrieb "Richard Mace" <<a href="mailto:richard.mace@gmail.com">richard.mace@gmail.com</a>>:<br>
><br>
> Hi,<br>
> 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)</p>
<p>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.<br>
Also on Unix systems it won't work as GetTickCount is linked up with a date/time based function there.</p>
<p>Regards,<br>
Sven</p>