Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Object still alive?
Message
De
14/03/2002 17:16:39
 
 
À
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:
00633084
Vues:
26
>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


Probably not. VFP very aggressively tries to cache objects so they can quickly be recreated if needed. Sometimes, it's a bit too aggressive with this caching. A CLEAR ALL will usually clear it up.
Fred
Microsoft Visual FoxPro MVP

foxcentral.net
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform