In this one case, it probably doesn't matter, as the rest of the event is
ignored. I found other instances where the MemSet was included in the sample
code. In general, it's a good thing to do when setting up an event to be
posted to the event queue, but in many cases, the attributes that aren't
being set won't be read. It's just that if for any reason there is code that
depends on one of the values not set, the value it gets will be quite
unpredictable, leading to bugs that are tricky to track down.
-- 
Peter Epstein

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

Reply via email to