All Forums
 Microsoft Windows CE
 CE Sample Applications and Utilities
 Intercept Sleep and Wake-up in C#
 Forum Locked
 Send Topic to a Friend
 Printer Friendly
Author Topic  


28 Posts

Posted - 31 Jul 2008 :  15:38:16  Show Profile  Email Poster
I see that there is some code for dealing with sleep mode in C++. What is the recommended approach for doing this in C#? Is there some example code?


- Mark


877 Posts

Posted - 31 Jul 2008 :  15:45:43  Show Profile  Email Poster
It's going to be pretty similar. Basically you'll register for a named system event and wait on that - typically in a worker thread - and when the even fires, you'll unblock and handle whatever process you want.
Go to Top of Page
 Forum Locked
 Send Topic to a Friend
 Printer Friendly
Jump To:
Eurotech Support Forums © Eurotech Inc. Go To Top Of Page
This page was generated in 0.02 seconds. Snitz Forums 2000