[EMAIL PROTECTED] writes: > if we just close the forms and exit the application will it not > cause memory leak ?
As soon as your application exits, PalmOS frees up all the memory that it was using, so there is no memory leak. > is it wise to put an if/else aroud EVERY MemPtrNew/MemHandleNew/etc.. > that we do ? See the Debugging Strategies chapter in the PalmOS companion, the Error Manager chapter in the PalmOS Reference Manual, and ErrorBase.h in the SDK and. These will tell you how to implement a C++-ish exception mechanism. Put a ErrTry around your event loop and an ErrCatch after it. Then, do an ErrThrow whenever you run into a problem that prevents you from proceeding. -- Dave Carrigan ([EMAIL PROTECTED]) | Yow! Is it clean in other UNIX-Apache-Perl-Linux-Firewalls-LDAP-C-DNS | dimensions? Seattle, WA, USA | http://www.rudedog.org/ | -- For information on using the ACCESS Developer Forums, or to unsubscribe, please see http://www.access-company.com/developers/forums/
