Before quitting, are you calling FrmCloseAllForms? The OS needs that to clean up after itself.I've reduced the program down to as simple a program as I think I can get away with: just a form with nothing on it except the title and the only events that the form event handler deals with is "frmOpenEvent" (in which case it calls 'FrmDrawForm()' to draw the empty form) and "appStopEvent" (call 'FrmDeleteForm()'). I still get 2 memory leaks. I'm about ready to pull out what little hair I've got left.
Regards,
Steve Mann
--
For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
