<p dir="ltr">Ah, that's interesting.<br>
Even if you actually choose Shutdown from the menu?<br>
Richard</p>
<div class="gmail_quote">On 6 Aug 2014 07:06, "Sven Barth" <<a href="mailto:pascaldragon@googlemail.com">pascaldragon@googlemail.com</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<p>Am 06.08.2014 07:50 schrieb "Richard Mace" <<a href="mailto:richard.mace@gmail.com" target="_blank">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>
<br>--<br>
_______________________________________________<br>
Lazarus mailing list<br>
<a href="mailto:Lazarus@lists.lazarus.freepascal.org">Lazarus@lists.lazarus.freepascal.org</a><br>
<a href="http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus" target="_blank">http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus</a><br>
<br></blockquote></div>