Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Object still alive?
Message
 
À
14/03/2002 17:12:03
Chuck Berry
Copper State Bolt & Nut Co.
Phoenix, Arizona, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Problèmes
Divers
Thread ID:
00633081
Message ID:
00633795
Vues:
17
Well, "when in doubt, shout" - in other words, put a messagebox('...') into your destroy() routine and see if the message appears when you setthe enclosing variable to NULL

>I have a an object I instantiated with createobject. The object works as expected, but when I give it a value of NULL at the command prompt I do not think it's going away. I say this because when I try to modify the class, it asks me if I want to remove it from memory. Other objects that I have created do not do this unless I bomb out of them through the debugger. If I call the Destroy event, the object releases and VFP doesn't ask me to remove it from memory.
>
>I am pretty good at declaring my variables and also destroying any object references. I looked at this object very closely and didn't see anything wrong. Is there anything else I should be looking for or should I go over everything again?
>
>Thanks in advance.
>
>Chuck
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform