[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

Sync Pda time with desktop

Posted on 2006-06-01
5
Medium Priority
?
430 Views
Last Modified: 2008-01-09
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?
0
Comment
Question by:rkneal
  • 2
3 Comments
 
LVL 3

Expert Comment

by:Mikeh926
ID: 16815542
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.
0
 

Author Comment

by:rkneal
ID: 16819503
Ive been unsing RAPI but i'm not sure i know how to do what you are saying. Got an example?
0
 
LVL 3

Accepted Solution

by:
Mikeh926 earned 2000 total points
ID: 16832739
Had a closer look at it, I think you will have to put some code in a DLL on the device that receives the call and sets the time.

Have a look at:

\Program Files\Windows CE Tools\wce500\Windows Mobile 5.0 Pocket PC SDK\Samples\CPP\Win32\CeInvoke


0

Featured Post

[Webinar] Cloud and Mobile-First Strategy

Maybe you’ve fully adopted the cloud since the beginning. Or maybe you started with on-prem resources but are pursuing a “cloud and mobile first” strategy. Getting to that end state has its challenges. Discover how to build out a 100% cloud and mobile IT strategy in this webinar.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article will inform Clients about common and important expectations from the freelancers (Experts) who are looking at your Gig.
Q&A with Course Creator, Mark Lassoff, on the importance of HTML5 in the career of a modern-day developer.
Six Sigma Control Plans
Screencast - Getting to Know the Pipeline

834 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question