"Ronald Gouldner Jr" <[EMAIL PROTECTED]> wrote:
> True enough Dave, I should have said FrmCloseAllForms() "MAY" be your
> problem.
> Also I jumped in the middle of the thread and did not realize that the
> original
> email stated that this was NOT the problem for the app in question. Sorry
> about that but I must say this list is posting such a large number of
> messages
> that I am losing track. I really need to try harder to keep up ;-)
>
> > Ron is right that calling FrmCloseAllForms() at the end of your app is
> > necessary (in normal circumstances) to prevent a memory leak.
> >
> > However, there are plenty of other ways to create a memory leak! Any time
> > you allocate memory, or have something else allocate memory for you, if it
> > isn't freed up before your app quits then you'll get this message.
And I just discovered yet another requirement to avoid the memory leak:
if any of your form event handlers handle frmCloseEvent, make sure they
return false so the OS will do its default thing.
--
Roger Chaplin
<[EMAIL PROTECTED]>
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palm.com/devzone/mailinglists.html