Author: Ed Leafe
Posted: 2001-12-05 at 10:03:39
On Wednesday, December 5, 2001, at 09:33 AM, Michael Babcock wrote:
>> Bad news, Michael - CLEAR CLASSLIB does not seem to work reliably, if
>> at
>> all. CLEAR ALL is the only way I have ever found (up to VFP6 SP%, at
>> least)
>> to clear classes from memory.
>
> I hope M$ fixed that in VFP7. Bummer! Thanks for the confirmation,
> Larry.
It's really not a bug. If there is even a single reference to an
instance of a class, CLEAR CLASS or CLEAR CLASSLIB will not remove the
class definition from memory. The reason CLEAR ALL works is that it
removes all instances of all classes, too.
You need to figure out why there are still instances of your class
in existence.
___/
/
__/
/
____/
Ed Leafe