Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to determine which class loaded in memory and releas
Message
From
27/05/2002 14:59:19
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
 
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00661730
Message ID:
00661759
Views:
22
>>>Hello!!!
>>>
>>>I created classes and the program load it in memory as it runs... now i want to know the names of the classes loaded and release a particular class...
>>>How can i do that?
>>>
>>>Thanks...
>>>
>>>Bong
>>
>>Check the contents of set("classlib").
>>
>>Release with RELEASE CLASSLIB.
>
>SET('CLASSLIB') returns the names of the class libraries assigned via SET CLASSLIB - it doesn't enumerate the available classes, nor does it include non-visual classes derived from running procedure files or as a result of SET PROCEDURE TO

Yes; I thought that was what was asked for. However, the other solution posted seems simpler. I didn't test it, though.

Hilmar.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Previous
Reply
Map
View

Click here to load this message in the networking platform