environment.tickcount cause overflowexception

  • Thread starter Thread starter rockdale
  • Start date Start date
R

rockdale

I got a wired problem with environment.tickcount function.

It was working on my old PDAs which runs Windows CE 4.20 and Windows CE
5.0.
But not on PDA which runs on windows CE 4.21. It causes
overflowexception.

Does anybody know what the error is?

Thanks
-rockdale
 
Maybe it's solved, but maybe you're getting a problem based on the
wrap-around of the tick count value (it's counting a 1ms pulse; you can
figure out how long it will be before it wraps from 0xffffffff to 0). Don't
stop testing yet!

Paul T.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top