To my knowledge, the possible reason for that problem is that you handle
the frmCloseEvent in your event handler. Therefore, the system WILL NOT
do any cleanup operation for you, for example, release memory used in
the text field in the form...


You may check whether your event handler contains the similar code:

        case frmCloseEvent:
                .
                .  // do something
                handled = true;
                break;

If yes, you handle the frmCloseEvent really.
Please comment out the following statement, like this:
        
        // handled = true;

Hope you may solve your problem!
Kit


-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]] On Behalf Of N
Sent: Friday, September 27, 2002 11:21 AM
To: Palm Developer Forum
Subject: One Form Three Memory Leaks

I m Loading a simple form with a button on it.  When
closing getting 3 memory leaks.  

In stop applicattion calling "FrmCloseAllForms()" 
also.  Not calling any Mem....  function.  

Any ideas where should I check.  

Thanks !

__________________________________________________
Do you Yahoo!?
New DSL Internet Access from SBC & Yahoo!
http://sbc.yahoo.com

-- 
For information on using the Palm Developer Forums, or to unsubscribe,
please see http://www.palmos.com/dev/support/forums/


-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/

Reply via email to