Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Classes staying in memory.
Message
From
19/11/2003 14:49:35
 
 
To
19/11/2003 14:27:44
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00851587
Message ID:
00851597
Views:
10
Make up a .PRG with CLEAR CLASS commands for all the classes involved. These commands must be done in the order from most derived to base because you cannot clear a base class before all classes derived from it have been cleared from memory. If you have to call the .PRG several times before it works then you have got the order wrong. Or simply let the list of CLEAR CLASS commands execute as often as there are commands, then it will work even if you have the order exactly backwards. *g*

Of course, this will fail if there are outstanding references to the classes.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform