Is my PPC possessed?

L

Lcubed

I have a small test application that turns the backlight on and off.
It consist of 2 OpenNetCF OneShot LargeIntervalTimer s. When the test
is started, the first timer is set and when on it's tick it turns off
the backlight and enables timer 2. Timer 2 turns the backlight on and
enables timer 1. All works well.

Until, I want it to stop. Both timers are disabled and I exit the
application. But the backlight keeps turning on and off. So, I
navigate to settings - memory - running programs, but my app is not
there.

How can the application still run when it's not in the running
programs list?
Shouldn't setting LargeIntervalTimer Enabled to false turn the timer
off?

Thanks!
 
C

Chris Tacke, eMVP

"Running Programs" really has very little to do with what apps are running.
Not being in that list simply means you don't have a top level window with
text. Using remote process viewer is a much more reliable way to verify
what is or isn't running.

As for why the LIT might be giving that behavior, tehre could be any number
of reasons. It could be a bug in your code. It could be a bug in the LIT.
I know we did a fair bit of testing of the LIT a few months back and I ended
up rewriting a few pieces of it. It could be that you're seeing some of the
bugs we found during that process (check with our Bugzilla database to see
what the bugs were and what we've done for fixes).

Otherwise, we'd need repro code to know what is happening.


--

Chris Tacke, Embedded MVP
OpenNETCF Consulting
Giving back to the embedded community
http://community.OpenNETCF.com
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top