new and delete work fine on PalmOS but it use the dynamic heap which can be very limited on some devices (mainly TT and TT2) so you can really use large objects. Also take care to not use big tables on your code if you try to allocate a UInt16 table[64000] it while crash your app.
> Hi, > > I'm supposed to port a C++ application from Windows to Palm. This > application heavily uses standard C++ library functions - new and delete > for memory allocation/deallocation . As per my understanding, new and delete > are not supported in Palm. What could be the best alternative to these > library functions? > > Thanks and regards, > Mayank -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
