Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
CLEAR CLASSLIB - what does it do?
Message
 
To
All
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Title:
CLEAR CLASSLIB - what does it do?
Miscellaneous
Thread ID:
00422838
Message ID:
00422838
Views:
50
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
Next
Reply
Map
View

Click here to load this message in the networking platform