Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Finding the dangling object
Message
From
16/09/2005 13:57:01
 
 
To
16/09/2005 11:29:30
General information
Forum:
Visual FoxPro
Category:
Object Oriented Programming
Environment versions
Visual FoxPro:
VFP 7 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01050303
Message ID:
01050415
Views:
10
>Hi,
>
>I started getting crashes from a program that had several hundred forms. I was able to trace the problem down to two modules. I then used sys(1011) with each form (opening and closing the form) and found a form that kept using more and more memory handles. So I started removing controls from the form until I stopped using extra memory handles. I then found the issue in the form and fixed it (at least it stopped memory handles from increasing).
>
>So the question is:
>
>There has got to be a better way to find that dangling object - what might that be?
>
>John

Maybe David Frankenbach's ObjRef utility would be of use?

http://www.geocities.com/df_foxpro/qoop017.htm
Fred
Microsoft Visual FoxPro MVP

foxcentral.net
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform