timer controls more than one

Hi,

I have no idea if I use 4 timer controls in my windows mobile application or windows CE.  Can I use more timer controls in my application or I should use variable (integer) to store counter with one timer? I need to know will it effect my application by performance? Will all timer can inter cross ?

mkk39Asked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

MarcjevCommented:
4 timers is no problem. Timers give some overhead. So starting much of them will use cpu and fill up the messagepump. If you were talking about dozens this might be a problem, if the interval is very small.
0
mkk39Author Commented:
Thanks for reply.

The application is for windows mobiles or windows ce. I have to use 4 timers with with more than 10 minutes of duration.

Can u please confirm now?
0
MarcjevCommented:
Yep this will work. No problem there.
0
Angular Fundamentals

Learn the fundamentals of Angular 2, a JavaScript framework for developing dynamic single page applications.

vivekpv10Commented:
Using timers is not an issue.But remember that timers will not work in suspended mode.Usualyl by default after 3 minutes mobile will be in suspended mode.If you want run a scheduled task then use CeRunAppAtTime function.Or otherwise change registry settings that it will never go to suspended mode.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
vivekpv10Commented:
Also there are two timers.One is windows timer and other one is Therad timer.Thread timer will work asynchronously..
0
mkk39Author Commented:
Can u please help me how can I use CeRunAppAtTime function

and

how to implement thread timer

Thank you
0
vivekpv10Commented:
Thread timer also will not work in suspended mode....CeRunAppAtTime is the only solution to overcome this...i will give u a link.....Download that project..by refering that u will get an idea about CeRunAppAtTime....
http://www.j2i.net/images/NotificationTest.zip
0
vivekpv10Commented:
are u clear about this??
0
mkk39Author Commented:
thanks vivekpv10

I will try it in next few hours
0
vivekpv10Commented:
which version of windows mobile that u using???
0
mkk39Author Commented:
windows mobile 5 and WM 6
0
vivekpv10Commented:
ok..have u tried tht CeRunAppAtTime??
0
hjgodeTier 3 Senior Technical Support EngineerCommented:
This question has been classified as abandoned and is closed as part of the Cleanup Program. See the recommendation for more details.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Smartphone Programming

From novice to tech pro — start learning today.