Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Destroy method of biz object is not fired when it's real
Message
De
22/02/2005 11:13:48
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
The Mere Mortals Framework
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Divers
Thread ID:
00989209
Message ID:
00989269
Vues:
23
You are making a big assumption here, Nadya.

Just because you code a RELEASE does NOT mean that the memvar is actually released!

As JayeshP says, *IF* your code puts **ANY** reference to an object's property, or even stores an object reference patial 'path' (for example: xxx = oObject.Treeview) then RELEASE will do nothing to the actual object! Yes, it will release the memvar you specify but it will NOT release the object.

good luck
Jim


>>>>Sorry I don't. I use codebook from Flash. I had similar issue..so...thought would help...
>>>
>>>No problems. BTW, MereMortals originated from Codebook. Do you have similar problem with Codebook?
>>
>>I know. That's why I attempt to reply questions posted under MM category. I had the similar problem but as I said, the object was not going out of scope when I did RELEASE.
>
>
>You now confused me. The RELEASE command releases the variable, so it is going out of scope.
>
>E.g.
>
>loObject = createobject('MyClass')
>release loObject
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform