Hi,
it works, but is it a save way to power off? I tested it on a HP iPAQ
HX4700. If I power off the device with this code, then you can see the
display getting darker and darker. If you you use e.g.: Battery Pack Pro to
power off, then the display is powered off immediately. What do you think
about this?
juvi
:
Try this:
using System.Runtime.InteropServices;
....
[DllImport("coredll.dll")]
private static extern void PowerOffSystem();
--
Sergey Bogdanov [.NET CF MVP, MCSD]
http://www.sergeybogdanov.com
Hi, How can I turn off a pocket pc device with visual c#.net? I only found a
solution for embedded visual c++...please help me. Thank you
juvi