In article <40306@palm-dev-forum>, Holger Klawitter <[EMAIL PROTECTED]> wrote:

> No I didn't talk about that, I was talking about
> 
>         EventType evt;
>         ....
>         EvtEnqueueEvent( &evt );
> 
> This is so serioursly broken, that I didn't look deeper ...

No. Looking at source of PalmOS 3.0 (not having access to 3.5 at the
moment), I see, that "EvtAddEventToQueue" does make a copy of the data
into the event queue. So having the parameter in a local variable is no
problem.

Perhaps the documentation
<http://www.palmos.com/dev/tech/docs/palmos/SystemEventManager.html#924939>
should point this out better.
-- 
Remo Hofer <[EMAIL PROTECTED]>
http://www.geocities.com/SiliconValley/Cable/5206/

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

Reply via email to