Re: How to start a process on the desktop from the Pocket PC?
- From: orandov@xxxxxxxxx
- Date: Tue, 25 Sep 2007 00:22:47 -0000
Ok, so nobody responded to my original post probably b/c this has been
posted several times in this group. So I did a little digging and I
found some very helpful posts (which I have used) by many people
including: Chris Tacke, Peter Foot and others.
But...I still need some help.
This is what I need to do:
1) Synchronize the CE database when they place pocket pc in the
cradle.
2) Then AFTER the databses have been synched, I want to run a desktop
application to process the data in the SQL server database.
So what I did was...
1) Use the CERunAppAtEvent on the NOTIFICATION_EVENT_RS232_DETECTED to
fire off a pocket pc application that synchronizes the CE database to
the Desktop.
2) Then I used the Registry Based Notification (AutoStartOnConnect) to
register my desktop application with active sync to be fired off when
a connection is detected.
Both of these steps worked on there own but the problem is that the
synchronization of the CE Databse takes about 30 seconds - 1 minute
and the desktop application gets fired off b/f the databases haved
synched up.
How can I fix this? Did I miss a step?
Can I fire the desktop app from my pocket pc app using:
"CreateProcess("AppName", "", IntPtr.Zero, IntPtr.Zero, 0, 0,
IntPtr.Zero, IntPtr.Zero, si, pi)"? I tried that but it didn't work.
Do I need to register the app on the ppc?
Sorry if there is a simple solution. I am new to handhelds and using
the registry (and I guess .NET :) )
Oran
.
- Follow-Ups:
- Re: How to start a process on the desktop from the Pocket PC?
- From: <ctacke/>
- Re: How to start a process on the desktop from the Pocket PC?
- References:
- Prev by Date: Re: CF 2.0 application compatible with OpenGL standard
- Next by Date: Re: How to start a process on the desktop from the Pocket PC?
- Previous by thread: How to start a process on the desktop from the Pocket PC?
- Next by thread: Re: How to start a process on the desktop from the Pocket PC?
- Index(es):
Relevant Pages
|
|