PC Review Forums Newsgroups Microsoft DotNet Microsoft Dot NET Compact Framework environment.tickcount cause overflowexception

Reply

environment.tickcount cause overflowexception

 
Thread Tools Rate Thread
Old 11-09-2006, 02:24 PM   #1
rockdale
Guest
 
Posts: n/a
Default environment.tickcount cause overflowexception


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

  Reply With Quote
Old 11-09-2006, 02:45 PM   #2
rockdale
Guest
 
Posts: n/a
Default Re: environment.tickcount cause overflowexception

problem solved as I soft reset the device. Thanks
rockdale wrote:
> 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


  Reply With Quote
Old 18-09-2006, 07:29 PM   #3
Paul G. Tobey [eMVP]
Guest
 
Posts: n/a
Default Re: environment.tickcount cause overflowexception

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.

"rockdale" <rockdale.green@gmail.com> wrote in message
news:1157982342.901379.196970@p79g2000cwp.googlegroups.com...
> problem solved as I soft reset the device. Thanks
> rockdale wrote:
>> 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

>



  Reply With Quote
Reply



Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off