Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Memory Not Released
Message
De
17/12/1999 08:18:22
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Problèmes
Titre:
Memory Not Released
Divers
Thread ID:
00305179
Message ID:
00305179
Vues:
73
Hi,
I have a top level form as my main windows and others windows as MDI Form. I face a problem that, my application is not released from memory everytime I exit my application even I have issue READ EVENT at the beginning and CLEAR EVENT, CLEAR ALL when exit.
I have try to issue CANCEL command after CLEAR EVENT. It works most of the time (90%). However, it may not work sometime.
What is the mistake I make here? How to solve?

Additional Info.
1. I have MSCOMM.ocx in my application. It cause my program Fatal Exception Error when I add the control into each of the relevant form (I have try add visually and programmatically). My solution is ADDOBJECT when INIT and REMOVEOBJECT when DESTROY. And It works.

2. I have a custom security class that manage the security of my application. It would like user to login when start my application and logout user if my application terminated. I NEWOBJECT security class and store the reference in mymainform.osecurity property. It create couples of session object when doing validation. I am sure that I DESTROY it once I finish the validation process. (Actually my application not released totally after I have this class.) I set mymainform.osecurity = .NULL. when DESTROY.

Could you what cause me to have this problem??

Thank you in advance
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...
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform