Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
CLEAR CLASSLIB - what does it do?
Message
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Titre:
CLEAR CLASSLIB - what does it do?
Divers
Thread ID:
00422838
Message ID:
00422838
Vues:
49
My scenario:

- MODIFY FORM myForm
- Run our "who has the file on the network" routine for the myBase.vcx file - the result shows that I have the file in use.

- escape out of form designer
- Run our "who has the file on the network" routine for the myBase.vcx file - the result shows that I STILL have the file in use.

- issue CLEAR CLASSLIB myBase
- Run our "who has the file on the network" routine for the myBase.vcx file - the result shows that I STILL have the file in use.

Everything less than CLEAR ALL (or QUIT VFP) fails to release the myBase.vcx from memory.

Question: What does the CLEAR CLASSLIB do? - Help says it clears all classes contained in the library, isn't then normal to clear the .vcx too? Why does VFP insist to keep the .vcx in the memory? Isn't this like the bank won't let me withdraw money from my account because they want me to make that 0.5% interest per year?

TIA

dz
Doru
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform