strange, because i have exactly the opposite problem

in my case new thrown exception even when i had them disabled in project c/c++
options. as result always when new couldn't alloc memory my application just
finished

i had to override new operator to forget about exceptions and return NULL 
instead


> 
> You can use "new" and "delete", but the implementation doesn't throw an
> exception if "new" fails.  Under the skin, "new" uses MemPtrNew.
> 
> So you have to make sure you don't use "new" if you don't have enough
> heap memory.
> 
> There is a fix for this, where you can provide your own implementation
> of "new" and "delete", but I can't remember where it is documented.  Try
> the KB and the archives.
> 
> 
> Roger Stringer
> Marietta Systems, Inc. (www.rf-tp.com)
> 
> 

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

Reply via email to