Link to home
Start Free TrialLog in
Avatar of rkneal
rkneal

asked on

Sync Pda time with desktop

I need a way to sync the time on a pda with the time on the desktop that it is connected to. I did some research and came across an example that showed how to set the time from a program that was running on the pda. So i need a way to set the time from the desktop or a way to start a process on a connected pda from the desktop. Any Ideas?
Avatar of Mikeh926
Mikeh926

If it's a Windows Mobile PDA, you can call CeRapiInvoke to load a DLL on the device and execute a function in it. This can also pass data to the function (such as the time from the desktop).

You _might_ be able to call CeRapiInvoke specifying "coredll.exe" as the module to load and "SetSystemTime" as the function to call. This would allow you to set the time on the PDA without writing any code for the device.

Mike.
Avatar of rkneal

ASKER

Ive been unsing RAPI but i'm not sure i know how to do what you are saying. Got an example?
ASKER CERTIFIED SOLUTION
Avatar of Mikeh926
Mikeh926

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial