I am certain that the device suspends. The PowerEventWaitQueue should
have a variety of messages coming in. Alex's code examines each one,
looking for the resume from sleep. On the MC9090, the queue never
sends ANY messages back. It really is like it is just not there. I
<ctacke/> wrote:
> It's actually possible, though I'd be pretty sureprised (and maybe the WM
> specs require it anyway).
> One other thought - are you certain this device suspends? I'm not familiar
> with this device, but some devices (like all of the phone edition devices)
> never actually suspend. This allows the radio to stay on and receive calls.
> It also means that the power queue will never get a suspend or wake event
> (though it probably still gets some other transition messages).
>
>
> --
> Chris Tacke
> OpenNETCF Consulting
> Managed Code in the Embedded World
>
www.opennetcf.com > --
>
>
> "Brian" <bloodbrian@gmail.com> wrote in message
> news:1159573319.398819.309900@m73g2000cwd.googlegroups.com...
> > Thanks for the reply, Chris. The contents of your reply definitely
> > don't give me a lot of hope, however. I have tested the app that Alex
> > posted on a Symbol MC9060 (running WM 2003) and it worked perfectly
> > well.
> > Same code on MC9090 with WM 5.0 and it does nothing at all...the thread
> > checking the queue just loops forever without ever receiving a message.
> > Is it possible that Symbol has removed it from their package, do you
> > think?
> > -Brian
> >
> > <ctacke/> wrote:
> >> That queue is definitely valid on WM 5.0 - I'm using it on an Axim x51
> >> right
> >> now (though admittedly not directly with Alex's code).
> >>
> >>
> >> --
> >> Chris Tacke
> >> OpenNETCF Consulting
> >> Managed Code in the Embedded World
> >>
www.opennetcf.com > >> --
> >>
> >>
> >>
> >>
> >> <bloodbrian@gmail.com> wrote in message
> >> news:1159553948.295047.65240@i42g2000cwa.googlegroups.com...
> >> >I am working on an app originally written for PPC 2003. We have since
> >> > upgraded to WM 5.0, but have found that the code we use to detect a
> >> > resume from sleep no longer works.
> >> >
> >> > The code is based on the sample code provided by Alex Feinman, found
> >> > here:
> >> >
http://www.alexfeinman.com/download.asp?doc=PowerAwareApp.zip > >> >
> >> > This worked perfectly on the old OS, but in the new OS the message
> >> > queue never seems to be populated. Does anyone know of a way to
> >> > capture a resume from sleep on Windows Mobile 5.0?
> >> >
> >> > We are working in VS 2003, .Net 1.1, on a Symbol MC9090.
> >> >
> >