E Erik Sep 9, 2004 #1 Is there a method to capture the event when the device wakes up from going to sleep using .net?
A Andrey Yatsyk Sep 9, 2004 #2 You should call CeRunAppAtEvent with NOTIFICATION_EVENT_WAKEUP argument. This article http://www.codeproject.com/netcf/compframe1.asp?df=100&forumid=32077&exp=0&select=816305 contains a sample with P/Invoking of this function.
You should call CeRunAppAtEvent with NOTIFICATION_EVENT_WAKEUP argument. This article http://www.codeproject.com/netcf/compframe1.asp?df=100&forumid=32077&exp=0&select=816305 contains a sample with P/Invoking of this function.
C Chris Tacke, eMVP Sep 9, 2004 #3 There's really no way to get that n native code either. The best woraround off the top of my head is a simply C program registered with CeRunAppAtEvent that sets a system event (and re-registers itself). -Chris
There's really no way to get that n native code either. The best woraround off the top of my head is a simply C program registered with CeRunAppAtEvent that sets a system event (and re-registers itself). -Chris
A Alex Feinman [MVP] Sep 9, 2004 #4 Take a look at http://www.alexfeinman.com/download.asp?doc=PowerAwareApp.zip This approach works only for 4.1 devices and newer (i.e. PPC2003 but not PPC 2002)
Take a look at http://www.alexfeinman.com/download.asp?doc=PowerAwareApp.zip This approach works only for 4.1 devices and newer (i.e. PPC2003 but not PPC 2002)