How about just creating a Web Service which'd be called when the process
completes?
--
Alex Yakhnin, .NET CF MVP
www.intelliprog.com |
www.opennetcf.org
"Kris" wrote:
> 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
>