> You comments made me think of something that I do. See function below. My
> code works fine, but now Im a bit worried. What I need to know is whether
> EvtAddEventToQueue copies the data from the pointer (hopefully) or uses the
> pointer when  the event is in the queue and eventually comes out. I assume
> it copies it as I use this a lot and it does not crash. Can anyone put my
> mind at rest.

Seems that I was too careful. Passing pointers to the system is
always delicate :). But you are right, it *should* copy the contents, as the
system wouldn't be able to free the contents of the event otherwise.

With kind regards / Mit freundlichem Gruß
    Holger Klawitter
--
Holger Klawitter
[EMAIL PROTECTED]                             http://www.klawitter.de


-- 
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