the following code in void CPeriodicRunner::DoTick()
iTicksLeft--;
if(iTicksLeft==0)
{
delete iPeriodic;
}
basically means that, as TicksLeft is equal to 1 at startup, the periodic timer event is occuring only once. Is that correct ? What i don't get is, why was this mechanism aimed at ?
regards,
Jacques.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
can't remembre why I added it! not sure, but I guess it was related to some performance issues related to symbian 1st edition. feel free to improve the code wherever you want! :)
ps. do you know how to enable mail notification to this forums?
-Leo
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Thanks for the answer. as a matter of fact, it runs correctly on my mobile, I was just curious.
To enable email notif, i think you have to "monitor this forum" by clicking on top of the dialog.
thnx,
jacques.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
the following code in void CPeriodicRunner::DoTick()
iTicksLeft--;
if(iTicksLeft==0)
{
delete iPeriodic;
}
basically means that, as TicksLeft is equal to 1 at startup, the periodic timer event is occuring only once. Is that correct ? What i don't get is, why was this mechanism aimed at ?
regards,
Jacques.
Hi Jacques!
can't remembre why I added it! not sure, but I guess it was related to some performance issues related to symbian 1st edition. feel free to improve the code wherever you want! :)
ps. do you know how to enable mail notification to this forums?
-Leo
Thanks for the answer. as a matter of fact, it runs correctly on my mobile, I was just curious.
To enable email notif, i think you have to "monitor this forum" by clicking on top of the dialog.
thnx,
jacques.