I use a mixture of both. new uses MemPtrNew. For editable text fields you need
to pass them a handle, so either you pass them a handle to a database record or
you use MemHandleNew. For instanciating your class objects new is fine. You
could write a wrapper around MemHandleNew and MemHandleUnlock, such that the
constructor creates the handle and the destructor unlocks it and then have a
access method for the handle.

Brian

On Thu, 22 Jun 2000 13:54:04 -0400, Ralph Krausse said:

> Can I new objects and strings or do I have to use MemHandleNew and
>  MemHandleLock?
>  
>  Thanks
>  Ralph Krausse
>  
>  -- 
>  For information on using the Palm Developer Forums, or to unsubscribe,
>  please see http://www.palmos.com/dev/tech/support/forums/
>  


__________________________________________________
Do You Yahoo!?
Talk to your friends online with Yahoo! Messenger.
http://im.yahoo.com


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