Create File on Desktop from PocketPC

K

Kris

Hi,
I have a long running maintenance process on the pocketPC which is
initiated from the Desktop via RAPI. I would like to know when the
Process ends. I posted here sometime ago and someone here responded make
use of the WaitForSingleObject on the process handle returned from
CeCreateProcess. However it doesnt work. How do I detect when the
process completed its run on the PocketPC? I can poll the process list
but didnt find it to be a clean way of doing it.
One other way could be to create a file on the Desktop PC from the
PocketPC at the end of the process and I could use the FileWatcher on
the desktop to know when the process exited. Is it possible to do this?
If so what is the API involved.

Thanks,
Kris
 
G

Guest

How about just creating a Web Service which'd be called when the process
completes?
 
G

Guest

WaitForSingleObject won't work becasue the handle is a device handle, not a
desktop handle. Make a custom RAPI method that runs and waits and P/Invoke
it.

-Chris
 

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