Information générale
Catégorie:
Gestionnaire d'écran & Écrans
Naomi, thank you for your comments.
I will work on it later.
I don't have activex or public variables referencing form's objects.
It's more dificult to find it, because I use Visual Pro Matrix framework and it has too much code in the base class.
I tried "Set step on" in the Destroy method but I get some errors some Promatrix's Deactivate method.
Thanks,
Juan C.
>>Thanks Naomi,
>>
>>Is this something similar to find public variables in Foxpro command window which may be referencing the form's objects?
>>
>>My form's scx name is mtreference.scx and after releasing the form there is an object variable named mtreference, I can release it or I can set its value to .null., but still the data session is there nd I don't find more object variables other than _screen and _vfp.
>>
>>Is it possible that some _screen object or property is still referencing any form's objects?
>>
>>I could run the objref utility, but it gets locked when analizing memory variables.
>>
>>Thanks,
>>Juan C.
>
>Juan,
>
>The problem with this kind of dangling reference is that it's very hard to find :( First you need to check all createobject references in form's properties and make sure you set them all to null in form's Destroy.
>
>Are you using some public variables? I'm not sure what effect they may cause since I haven't used them in my applications.
>
>Are you using ActiveX controls on this form?
>
>You may need to put a break point into form's Destroy method and see what's going on.
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement