Terminating another process on the pocketpc

  • Thread starter Thread starter Claire
  • Start date Start date
C

Claire

I have to run another process on a pocket pc. But first I have to check that
it's terminated (and stop it if not) so I can add some data to its database
ready for it to process.
I then have to start it running again from my application so the user can
interface with it.

How do I stop/start another process running please?
many thanks
 
If it's your process (i.e. you have code control) add an IPC message
structure to tell it to stop. If you don't have control, send it's main
window a WM_CLOSE.

--
Chris Tacke
Co-founder
OpenNETCF.org
Has OpenNETCF helped you? Consider donating to support us!
http://www.opennetcf.org/donate
 
Look at the Process class in opennetcf. If you are in control on both sides
I suggest implementing a mechanism based on named events for communicated
the termination; otherwise send a WM_CLOSE message.

Cheers
Daniel
 
Back
Top