Set system clock on Pocket PC

  • Thread starter Thread starter Delphine Han
  • Start date Start date
D

Delphine Han

Can someone tell me how one can set system clock
programmatically on Pocket PC? Is there anyway to sync
clock between desktop and Pocket PC through ActiveSync?

I have a client/server application that the client runs on
PocketPC and the server runs on Windows 2000 Server. The
system clock on PocketPC appears to draft. I need to sync
the clock on the PocketPC with the clock on the server.

Any help would be appreciated. The program is written in
C# under VS.NET
 
I'm not sure about the clock synchronization question; sorry. You can
P/Invoke SetSystemTime() or SetLocalTime() to set the clock to a given time,
though. OpenNetCF.org's library has the necessary declaration, etc. to do
this in the DateTimeEx class.

Paul T.
 
Back
Top