>I'm instantiating and destroying a class from the command line. When I next go into the .prg where the class is defined and begin editing, I'm given the message, "Remove classes from memory?". However, if I change something in the class (as demonstrated below) I don't get that message when I go to edit the class. Why is there stuff left in memory on some occassions and not on others?
>
>The class I'm instantiating (class1) is defined in a .prg. In the init process of class1, 2 other objects (class2 and class3) are instantiated (both subclassed from another class (class4)). I have two properties in class1 that contain the references to the objects created.
>
>If I instantiate both class2 and class3 during class1's Init, then I get the "Remove classes from memory?" message. But, if I instantiate just one of the two (it doesn't seem to matter which), I don't get the message.
>
>Any clues as to what's going on?
>
>Rodd
Check the SYS(2339) function. I am not sure whether it is connected to your problem, but it might be so.
HTH
Zlatin Zlatev,
MCSD (VS6)Make solutions, not programs!