Sychronizing Pocket PC time to Desktop System time

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.
 
P

Paul G. Tobey [eMVP]

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.
 

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