Paolo Molaro wrote: > On 07/19/07 Thiago M. Sayão wrote: > >> Enrironment.TickCount is supposed to return the miliseconds since the >> boot. For my surprise it was returning a negative number which should >> only happen on the 47th day of uptime. >> > > I committed a fix to svn. Note that the negative numbers will > be returned after about 24 days. > Does anyone have a windows system running for more than that (chuckles) > and see if TickCount returns negative values or if the sign bit is > masked? > > The documentation used to say that it wrapped to 0, but it does go negative. I think the msdn docs were supposed to be updated at some point but I haven't verified that recently.
--Gareth > Thanks! > > lupus > > _______________________________________________ Mono-list maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-list
