Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
When or Where form's private datasession is released?
Message
From
26/07/2007 15:09:39
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
01243755
Message ID:
01243915
Views:
18
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.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform