Occhio che la GetTickCount:
http://msdn.microsoft.com/en-us/libr...08(VS.85).aspx
The elapsed time is stored as a DWORD value. Therefore, the time will wrap around to zero if the system is run continuously for 49.7 days. To avoid this problem, use GetTickCount64. Otherwise, check for an overflow condition when comparing times.