Detecting PowerON in CF APP after power- off

  • Thread starter Thread starter Sagaert Johan
  • Start date Start date
S

Sagaert Johan

If you start a program on a pocket device ,and then power off its state is
saved.(hybernating)

If you power on the device the application is restored and runs again.
The problem is with a PPC application that uses Sockets the connection is
broken if you power off the device.
How can i make my app aware of the fact that the PPC is powered on , so i
can handle this correctly.

Johan
 
Use CeRunAppAtEvent to run a small app that sets a system event notifying
you that power is back on.

-Chris
 
Back
Top