PC Review


Reply
Thread Tools Rate Thread

Create File on Desktop from PocketPC

 
 
Kris
Guest
Posts: n/a
 
      3rd Jun 2005
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
 
Reply With Quote
 
 
 
 
=?Utf-8?B?QWxleCBZYWtobmluIFtNVlBd?=
Guest
Posts: n/a
 
      3rd Jun 2005
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
>

 
Reply With Quote
 
Guest
Posts: n/a
 
      5th Jun 2005
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

"Kris" <(E-Mail Removed)> wrote in message
news:%23CS$(E-Mail Removed)...
> 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



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I create a .bat file to create a shortcut on the desktop? Jenny Microsoft Excel Programming 0 19th Sep 2008 02:39 PM
How to synchronize a small notebook to a desktop like a PocketPC to a desktop Juan I. Cahis Microsoft Windows 2000 1 4th Apr 2004 08:31 PM
copy a file from pc to pocketpc (pocketpc initiated!) =?Utf-8?B?UGlldGVy?= Microsoft Dot NET Compact Framework 0 4th Mar 2004 02:56 PM
Create PocketPC program A.A. Fussy Microsoft Dot NET 1 15th Nov 2003 03:51 AM
PocketPc 2003 to Remote Desktop Stephen Scott Windows XP Work Remotely 2 30th Oct 2003 11:46 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 12:16 PM.