Emulator BUG: TimeSpan.Milliseconds not working on Pocket PC emulator

P

pouchi

I try to get the TotalMilliseconds from a TimeSpan object under the
pocket pc emulator and it will not give me the fractional parts. I
always get 0 for the milliseonds value when I debug my application in
the emulator. However when I run the exe on my local drive the
milliseconds value come out properly. Is this is a known bug for the
emulator? Where can i get an update to this problem?
 
C

Chris Tacke, eMVP

Milliseconds is implemented by the OEM, and it's actually pretty rare to see
on CE devices. I've seen many (including us at ADS) that implemented a
PerformanceCounter that gives sub-millisecond accuracy, but still didn't
implemente anything finer than seconds for the system clock.

-Chris
 

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

Top