>Now if I use ptr immediately, it seems ok. I got what I want.  How safe is it?

Seems kind of safe, but you are aware that there might be a problem.

If the memory manager kicks in anywhere in that code sequence, or if 
a launch code comes in, or ...... (insert any number of other things 
here), you could be hosed.

Why not just code it to make sure there are no problems? That seems 
like the more prudent thing to do.

Regards,
Steve Mann

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