Mmm, I didn't know that the standard operator new uses global variables.  Is it 
the exception handling in the standard new that uses global?  


On 25 Nov 2003 at 08:45, Riccardo Cohen wrote:

> PS:standard new does not work if your app is launched without
> sysAppLaunchFlagNewGlobals because it uses global variables. 
> There is another new/delete here :
> 
> void operator delete(void* ptr)
> { if (ptr) MemPtrFree(ptr); }
> void* operator new(std::size_t size)
> { if (size == 0) size = 1; return MemPtrNew(size); }
> 



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

Reply via email to