Do not free all of your memory before closing. If your form handler does
not intercept frmCloseEvent, FrmHandleEvent will be called. When called it
tries to release memory for your form, which you've already released, so the
handle is invalid. I don't know the details, but that is basically what
happens.
Regards,
Steve
-----Original Message-----
From: Patrick Heynen [mailto:[EMAIL PROTECTED]]
Sent: Thursday, April 20, 2000 11:01 AM
To: Palm Developer Forum
Subject: FrmCloseAllForms() problem
Hi,
My program works fine write now. I had several times a problem with the 4128
Invalid Handle problem. That is solved right know.
But now this error occurs when I want to exit the Program. I exit the
program with the functions CloseAllForms();
It has always worked fine, I free my memory before closing, Does anyone know
how to solve this problem.
--
For information on using the Palm Developer Forums, or to unsubscribe,
please see http://www.palm.com/devzone/mailinglists.html
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palm.com/devzone/mailinglists.html