Sychronizing Pocket PC time to Desktop System time

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Sychronizing Pocket PC time to Desktop System time...

Hi,
I am writing an application for Pocket PC 2003.
This Application sets the Pocket PC time to the system time of the PC
to which this device is connected.

Right now i know how to set the time in Pocket Pc using CoreDll.SetSystemTime
Right now i am looking for the following information.
1. Can someone tell me how to get the system time of the Desktop to which my
device
is connected.
2. When i am setting the Pocket PC time, by default it is taking the time as
GMT and
is changing it according to the regional time setting. How can i set the
time directly,
without any effect of the regional time settings.

You can also mail to me directly:
(e-mail address removed)

Thanks in Advance,
Murthy.
 
1. As far as I can think, you can't get this from the Pocket PC.

2. That's because you're calling the interface that expects GMT. That's
what SetSystemTime() does. SetLocalTime() sets the local time.

Paul T.
 
Back
Top