Can an application restart itself?

  • Thread starter Thread starter cyberco
  • Start date Start date
One way is to P/Invoke (or use an existing wrapper) around the
CeRunAppAtTime API, schedule your app to launch in a couple of seconds time,
and exit. The SDF (www.opennetcf.org/sdf/) has a wrapper for this API.

Peter
 
Thanks,that works like a charm!
I was able to crash my application by exiting it immediately after it
was automatically launched. This may be due to RunAppAtTime(), but I'm
not sure.
 

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

Back
Top