Re: GetSystemTime and millisecons

Tech-Archive recommends: Fix windows errors by optimizing your registry



Alexander schrieb/wrote:
Good Day!

Please help! I try resive milliseconds in WinCE4.2. I use GetSystemTime(), but in returning structrure always milliseconds = 0. I look at platform builder source code this command and see that it is not get milliseconds from system, it set 0.

How I can recive millisecond connecting with system time? And set full systet time?

No chance! Do you need it for measuring time. Then use GetTickCount oder QueryPerformanceCounter instead.

Claus
.



Relevant Pages

  • Re: COleDateTime ,SystemTimeToVariantTime Issues Questions
    ... AliR. ... > CTime to system time and finally to a variant time with the ...
    (microsoft.public.vc.mfc)
  • Re: GetSystemTime and millisecons
    ... You can only do this if your hardware is designed to return ms from its ... then you must modify the OAL code for ... I try resive milliseconds in WinCE4.2. ... How I can recive millisecond connecting with system time? ...
    (microsoft.public.windowsce.embedded.vc)
  • Re: GetSystemTime and millisecons
    ... I try resive milliseconds in WinCE4.2. ... I look at platform builder source code this command and see that it is not get milliseconds from system, ... How I can recive millisecond connecting with system time? ... We did not need millisecond accuracy in the end accurate corrections!). ...
    (microsoft.public.windowsce.embedded.vc)
  • Re: The Blum-Blum-Shub generator and a guessable seed
    ... The system time is an awful seed. ... It contains next to no entropy from the ... point of view of an attacker. ... "The initial seed x_0 is derived from the system time in milliseconds." ...
    (sci.crypt)
  • Re: Get system time in Milliseconds
    ... The device, like many, probably only implements the system clock to the ... Few devices I've seen implement the milliseconds. ... Join the Embedded Developer Community ... suggest any alternatives how to get system time with actual milliseconds. ...
    (microsoft.public.windowsce.app.development)