detect wakeup from poweroff

  • Thread starter Thread starter Telmo Correia
  • Start date Start date
T

Telmo Correia

Is it possible to detect changes in power state of the device from
Compact Framework?!

Tks
 
Tks a lot. I tried it but I couldn't get it to work because it throws Exception - MessageBox.Show("This application uses API not available on current platform. Supported platforms are Windows CE.NET 4.1 devices, such as Windows Mobile 2003", "Error"); I'm using PocketPC 2002, should it work here?

But, even so I'm going to take a look at the source and try to understand it because this was exactly what I wanted to do, a login after poweron. And I would like to do a similar action when detecting any internet connection.

Thanks a lot.
 
No, it will not work on PPC2002 - Windows CE 3.0 does not have required API
implemented

Telmo Correia said:
Tks a lot. I tried it but I couldn't get it to work because it throws
Exception - MessageBox.Show("This application uses API not available on
current platform. Supported platforms are Windows CE.NET 4.1 devices, such
as Windows Mobile 2003", "Error"); I'm using PocketPC 2002, should it work
here?
But, even so I'm going to take a look at the source and try to understand
it because this was exactly what I wanted to do, a login after poweron. And
I would like to do a similar action when detecting any internet connection.
 
Back
Top