Take the 2-minute tour ×  I am doing a program using multimedia
Timer of Window based on the tutorial:
http://www.codeproject.com/Articles/1236/Timers-Tutorial the
structure of the programe as following:  while (runningTime<3) {
MotorRun(); //using Timer with cycle loop is 0.05 Sec
CounterForRunningTime;//it is "runningTime" based on the number
of loop to control motor }  My problem is that: after a period
of runing time (often after 45 Second) the cycle loop to control
motor is increased. First, I think maybe it is because the
program use CPU memory so much, So I tried but it is not the
reason.  Can U please give any advices??  share|improve this
question add comment   Your Answer    Browse other questions
tagged or ask your own question.