Since the this pointer is a pointer, you would need to use MemPtrNew to set it,
but you really have to use the new operator and depending on the developement
enviroment you can use the built in new operator or you have to overload it and
add then call MemPtrNew in your overloaded operator. (I overload the new and
delete operator with PRC Tools, so I don't have any exception handle.) The
compilar can not handle handles :^)

Brian

On Fri, 14 Jul 2000 16:31:19 -0500, Tjeng-Bo Lie said:

> Do I need to do a MemPtrNew or MemHandleNew when instantiating a new object
>  in C++?
>  
>  
>  
>  
>  -- 
>  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