Welcome to MSDN Blogs Sign in | Join | Help

News

  • Search the blog:

    MSDN developers center:


    RSS 2.0 Feed

    Add Feed to Live.com

    Locations of visitors to this page


    Disclaimer

    The opinions expressed herein are my own personal opinions and do not represent my employer's view in anyway.

    ©Copyright 2008  Olivier Bloch - Microsoft Embedded Technical Evangelist

Obtenir une résolution à la milliseconde dans Windows CE - Getting a millisecond resolution in Windows CE

Vous avez certainement remarqué qu'en demandant à un système Windows CE (y compris les devices Windows Mobile) en utilisant GetLocalTime ou GetSystemTime en natif ou bien DateTime.Now en .Net, que la valeur pour les ms était soit nulle soit une constante. Chris Tacke rédigé un article et propose du code source présentant une méthode permettant d'obtenir une valeur juste pour ce champ.

You certainly noticed that when querying time from a Windows CE system (including Windows Mobile devices) by using GetLocalTime or GetSystemTime in native code or DateTime.Now in managed code you get a null value or a constant for the ms field. Chris Tacke wrote an article and provides source code for a solution to get a ms resolution for this field.

Posted: Monday, December 17, 2007 10:18 PM by obloch

Comments

No Comments

Leave a Comment

(required) 

(required) 

(optional)

(required) 

Comment Notification

If you would like to receive an email when updates are made to this post, please register here

Subscribe to this post's comments using RSS

Page view tracker