mspocketpc.org Forum Index
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

How to determine if emulator has been hard reset?

 
Post new topic   Reply to topic    mspocketpc.org Forum Index -> Developers
Author Message
sherifffruitfly



Joined: 18 Feb 2008
Posts: 8

PostPosted: Wed Feb 27, 2008 10:56 pm    Post subject: How to determine if emulator has been hard reset? Reply with quote

Hi,

This is a repeat of a question from a few years ago:

http://groups.google.com/group/microsoft.public.pocketpc.developer/browse_thread/thread/2d462b038232464a/9728cd09efb4294f?lnk=gst&q=reset

The answer there was to check HKLM\Comm for the BootCount value.

There is no such value in anywhere in the WM6 registry. The only keys
in the registry with "boot", "count", or "reset" anywhere in their
names are:

\System\Shell\Booted
\init\BootVars
\Comm\Security\LASSD\AuthReset

None of these keys contains any subkeys or values relevant to the
number of times the unit has been rebooted.

So how can I verify that the emulator has performed a hard boot?

thanks!

Archived from group: microsoft>public>pocketpc>developer
Back to top
View user's profile Send private message
Scott Seligman



Joined: 15 Aug 2007
Posts: 111

PostPosted: Wed Feb 27, 2008 11:06 pm    Post subject: Re: How to determine if emulator has been hard reset? Reply with quote

sherifffruitfly wrote:
>
>The answer there was to check HKLM\Comm for the BootCount value.
>
>There is no such value in anywhere in the WM6 registry. The only keys
>in the registry with "boot", "count", or "reset" anywhere in their
>names are:

What device are you looking at?

Both my WM6 device, and the WM6 Pro Emulator have this key, and it's
still being incremented as expected.

(Though, I am skeptical of BootCount only being 93 on my personal
device. That seems a bit low Smile

--
--------- Scott Seligman and michelle dot net> ---------
Luck is probability taken personally.
-- Chip Denman
Back to top
View user's profile Send private message
sherifffruitfly



Joined: 18 Feb 2008
Posts: 8

PostPosted: Wed Feb 27, 2008 11:16 pm    Post subject: Re: How to determine if emulator has been hard reset? Reply with quote

On Feb 27, 6:06 pm, "Scott Seligman" wrote:
> sherifffruitfly wrote:
>
> >The answer there was to check HKLM\Comm for the BootCount value.
>
> >There is no such value in anywhere in the WM6 registry. The only keys
> >in the registry with "boot", "count", or "reset" anywhere in their
> >names are:
>
> What device are you looking at?
>
> Both my WM6 device, and the WM6 Pro Emulator have this key, and it's
> still being incremented as expected.
>
> (Though, I am skeptical of BootCount only being 93 on my personal
> device.  That seems a bit low Smile
>
> --
> --------- Scott Seligman and michelle dot net> ---------
>    Luck is probability taken personally.
>    -- Chip Denman

Hi -

I was looking at the WM6 Classic Emulator, but I'll re-check it, and
also check the Pro.

Thanks for replying!
Back to top
View user's profile Send private message
sherifffruitfly



Joined: 18 Feb 2008
Posts: 8

PostPosted: Wed Feb 27, 2008 11:38 pm    Post subject: Re: How to determine if emulator has been hard reset? Reply with quote

On Feb 27, 6:06 pm, "Scott Seligman" wrote:
> sherifffruitfly wrote:
>
> >The answer there was to check HKLM\Comm for the BootCount value.
>
> >There is no such value in anywhere in the WM6 registry. The only keys
> >in the registry with "boot", "count", or "reset" anywhere in their
> >names are:
>
> What device are you looking at?
>
> Both my WM6 device, and the WM6 Pro Emulator have this key, and it's
> still being incremented as expected.
>
> (Though, I am skeptical of BootCount only being 93 on my personal
> device.  That seems a bit low Smile
>
> --
> --------- Scott Seligman and michelle dot net> ---------
>    Luck is probability taken personally.
>    -- Chip Denman

Oops. The search I wrote only searched for subkeys, not values.

(blush)

Back to top
View user's profile Send private message
Display posts from previous:   
Related Topics:
Check if the device just have been hard reset 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

How to determine if volume window is active? Can anyone help me out with this problem? I need a way to detect if the Volume window is active in a native C++ app on a PPC, either WM5 or WM6. Some devices activate the volume window by pressing an up or down key on the device. Other devices don't hav

how to determine if a Bluetooth device (of a certain profile could someone points me to a C++ tutorial or sample code showing how to determine if a Bluetooth device (of a certain profile) is connected? e.g. i would like to determine is a Bluetooth stereo headset (profile A2DP) is connected. also, can the State and

How to determine interactive vs scheduled application launch I have a SmartPhone app which runs in two contexts; 1 - automatically at a scheduled time, and 2 - launched interactively by the user. I need to be able to tell the difference between these two contexts. One idea I have is to run the application with a co

how to determine compact framework version installed? How do you determine which version of the .net compact framework is installed on a device?
Post new topic   Reply to topic    mspocketpc.org Forum Index -> Developers All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group