"Dave Lippincott" <[EMAIL PROTECTED]> wrote in message
news:5290@palm-dev-forum...
> I don't think that method will always work.  The nilTimer parameter in
> EvtGetEvent is the interval between nilEvents not an absolute, generate
> nilEvent at that time.

That's why I said to "subtract the current time from that time to compute
how long to wait". You're right, that if you poll at a reasonable rate, the
batteries used to wake up and check aren't that significant, but since you
need to check whether it's time yet anyway, you might as well use the result
of the computation to figure out how many ticks you've still got to wait,
and pass that rather than some constant to EvtGetEvent.



-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palm.com/devzone/mailinglists.html

Reply via email to