Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
When or Where form's private datasession is released?
Message
 
 
To
26/07/2007 11:43:12
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
01243755
Message ID:
01243802
Views:
23
>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.
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform