> call EvtGetEvent( &event, SysTicksPerSecond( ) );
> this will generate a nil event every second.

wrong.. it'll generate an event exactly one second after you call this.
so, if you do:

{
  EvtGetEvent().
  // 1 second of processing
}

then, it'll actually be 2 seconds between each nilEvent. :) i have
posted code on how to do clocks/timers/animation using nilEvent many
times in the past; go check the archives.

the resolution of the timer doesn't allow you to get exactly 1 second.
you'll probably get within 1/100th of a second, best case :)

---
Aaron Ardiri
[EMAIL PROTECTED]
http://www.mobilewizardry.com/members/aaron_ardiri.php [profile]

-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/

Reply via email to