GetTickCount return value<p align=left><font face=Arial size=2>Hi,</font></p> <p align=left> </p> <p align=left>This might sound like a fundamental question, but after the system is up for more than 49.7 days and GetTickCount() returns 4294967296 which is wrapped around to 0, what does it return subsequently? Does it keep returning 4294967296 (wrapped around value 0) or does it return 4294967291, 4294967292, 4294967293 (wrapped around values 1, 2, 3) and so on.</p> <p align=left> </p> <p align=left>TIA,</p> <p align=left>Vidya.</p>© 2009 Microsoft Corporation. All rights reserved.Thu, 19 Jun 2008 00:15:52 Ze6b4b0f0-a439-41a5-a875-b9a1bcd9bfd8http://social.msdn.microsoft.com/Forums/en-US/vclanguage/thread/e6b4b0f0-a439-41a5-a875-b9a1bcd9bfd8#e6b4b0f0-a439-41a5-a875-b9a1bcd9bfd8http://social.msdn.microsoft.com/Forums/en-US/vclanguage/thread/e6b4b0f0-a439-41a5-a875-b9a1bcd9bfd8#e6b4b0f0-a439-41a5-a875-b9a1bcd9bfd8Vidya M Nhttp://social.msdn.microsoft.com/Profile/en-US/?user=Vidya%20M%20NGetTickCount return value<p align=left><font face=Arial size=2>Hi,</font></p> <p align=left> </p> <p align=left>This might sound like a fundamental question, but after the system is up for more than 49.7 days and GetTickCount() returns 4294967296 which is wrapped around to 0, what does it return subsequently? Does it keep returning 4294967296 (wrapped around value 0) or does it return 4294967291, 4294967292, 4294967293 (wrapped around values 1, 2, 3) and so on.</p> <p align=left> </p> <p align=left>TIA,</p> <p align=left>Vidya.</p>Sat, 15 Sep 2007 10:28:20 Z2007-09-17T19:28:58Zhttp://social.msdn.microsoft.com/Forums/en-US/vclanguage/thread/e6b4b0f0-a439-41a5-a875-b9a1bcd9bfd8#21ecf93d-befc-4de4-9a6d-677043a5814chttp://social.msdn.microsoft.com/Forums/en-US/vclanguage/thread/e6b4b0f0-a439-41a5-a875-b9a1bcd9bfd8#21ecf93d-befc-4de4-9a6d-677043a5814cBruno van Doorenhttp://social.msdn.microsoft.com/Profile/en-US/?user=Bruno%20van%20DoorenGetTickCount return value<p>It will roll over to 0, and then start counting upwards again: 4294967295, 0, 1, 2, ...</p> <p align=left> </p> <p align=left><font face=Arial size=2></font> </p>Sat, 15 Sep 2007 11:00:10 Z2007-09-17T19:28:58Zhttp://social.msdn.microsoft.com/Forums/en-US/vclanguage/thread/e6b4b0f0-a439-41a5-a875-b9a1bcd9bfd8#30be725e-3e69-4b2b-8bcd-24baa11430fdhttp://social.msdn.microsoft.com/Forums/en-US/vclanguage/thread/e6b4b0f0-a439-41a5-a875-b9a1bcd9bfd8#30be725e-3e69-4b2b-8bcd-24baa11430fd.Sreedharhttp://social.msdn.microsoft.com/Profile/en-US/?user=.SreedharGetTickCount return value<p align=left><font face=Arial size=2>Means GetTickCount() fails if the value greater than 2^32 i.e 4294967296????</font></p>Mon, 17 Sep 2007 12:01:21 Z2007-09-17T12:01:21Zhttp://social.msdn.microsoft.com/Forums/en-US/vclanguage/thread/e6b4b0f0-a439-41a5-a875-b9a1bcd9bfd8#f3e08555-6cda-42b0-8447-c96777612686http://social.msdn.microsoft.com/Forums/en-US/vclanguage/thread/e6b4b0f0-a439-41a5-a875-b9a1bcd9bfd8#f3e08555-6cda-42b0-8447-c96777612686Brian Kramerhttp://social.msdn.microsoft.com/Profile/en-US/?user=Brian%20KramerGetTickCount return value<p align=left>Incidentally, Windows Server 2008 features GetTickCount64, which won't roll over to zero for quite a while.</p> <p align=left> </p> <p align=left><a title="http://msdn2.microsoft.com/en-us/library/ms724411.aspx" href="http://msdn2.microsoft.com/en-us/library/ms724411.aspx">http://msdn2.microsoft.com/en-us/library/ms724411.aspx</a></p> <p align=left> </p> <p align=left> </p>Mon, 17 Sep 2007 14:19:55 Z2007-09-17T14:19:55Z