John Leung wrote:
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); }
-- Riccardo Cohen
Articque Les Roches 37230 Fondettes France web = http://www.articque.com tel: +33 02 47 49 90 49 fax: +33 02 47 49 91 49
-- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
