Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Application keep staying in memory
Message
From
04/11/1999 05:27:54
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Application keep staying in memory
Miscellaneous
Thread ID:
00286737
Message ID:
00286737
Views:
59
Hi,
I have an Top level form and couple of MDIForm in my application. AndI have the folowing code:
main.prg

DO FORM frmMain              &&My top level form
READ EVENT

frmMain.DESTROY()
** Place in DESTROY to let user to exit application just click on the "X" button

CLEAR EVENT
It work fine at first. However, I found that my application is not released from memory after I have a Login screen(frmLogin) in my application. I issue frmMain.RELEASE in frmLogin.cmdCancel.CLICK() terminate my application if user cancel the login.

Again, I have use ObjRef frm David, IT DOESN'T SHOW ANY OBJECT REMAINED IN MEMORY!!!!
Anybody has any ideas?

Thank you
I am not the most powerful man in this world.
I am not the worst man in this world either.
I just as same as all of you.
I still need to learn from my mistakes...
Next
Reply
Map
View

Click here to load this message in the networking platform