And no, unfortunatelly it is impossible not to check for that hypothetical
"hard reset flag" and restore them at each run as process of restoring
requires a soft reset.
Thank you in advance for any ideas.
> Is it possible to check if the Windows CE 4.2 device was hard reset after the
> previous launch of the program so the program could restore some system
> parameters on that condition? Let's assume that the program is installed on
> flash, so it wont be deleted on reset.
You could check for the number of soft resets performed. There is some
value in the registry that gets increased each time the soft reset is
invoked (which is rumored to be quite often on Windows devices *d&r*)
--
Gruß | Greetings | Qapla' - http://www.stud.tu-ilmenau.de/~frst-ii/
No user was harmed by sending this Outlook-free message.
read and learn: http://www.netmeister.org/news/learn2quote.html
[HKEY_LOCAL_MACHINE\COMM]
BootCount = ??
--
Chris Tacke
OpenNETCF Consulting
Managed Code in the Embedded World
www.opennetcf.com
--
"Eugene" <Eug...@discussions.microsoft.com> wrote in message
news:69CBC314-C8D9-4AC0...@microsoft.com...