Hello,

I found out, that the operator new just fails and quits the program without any comment if there is not enough space to create an (C++) object.
Can you give me some suggestions how to solve this?
I dont want to wrap every new[] into ErrTry..ErrCatch in my code. A single function that returns the object or NULL would be nice.
Is there some kind wrapper-function to create an object via MemPtrNew() ?
(Anyway, if you think Exceptions are the ultimate way, write me.)

Thanks,

Thomas


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

Reply via email to