Set system clock on Pocket PC

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
 
P

Paul G. Tobey [eMVP]

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.
 

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