I have no field or any other control on the form. Just
a button.  Even if I take the button out, I get 3
leaks.

If I m not using any Mem..   functions, what should I
do in frmCloseEvent.  


-----Message-----

From: Kit (view other messages by this author) 
Date: Fri, 27 Sep 2002 00:22:51 

--------------------------------------------------------------------------------

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

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]
On Behalf Of N

-----Original Message-----

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/

Reply via email to