[GD-Windows] More timer fun!
Brought to you by:
vexxed72
From: brian h. <bri...@py...> - 2002-08-30 04:40:01
|
Well, in the process of trying to figure out why on a very few systems (maybe less than 1%) my timing code was messed up, I stumbled across this tid bit at the Pest Patrol Web site: "A Range Check Error can occur on DELL computers running Windows ME with software using the Windows function GetTickCount. In such systems, this function is not returning the elapsed time since system power on, and the value returned can be enormous, causing a range check error. Dell's Range Check Error affects timeGetTime as well as GetTickCount. A third timing function, therefore, has been used in PestPatrol, PestPatrolCL, and PPUpdater." Well, sure enough, the two users I know that were having this problem have Dell Dimension L's with Windows ME. I'm not sure what the specifics of this problem are (I'm using 64-bit ints already), but I do some more range checking now and hopefully this problem goes away. -Hook |