Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Finding the dangling object
Message
De
16/09/2005 13:57:01
 
 
À
16/09/2005 11:29:30
Information générale
Forum:
Visual FoxPro
Catégorie:
Programmation Orientée Object
Versions des environnements
Visual FoxPro:
VFP 7 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Divers
Thread ID:
01050303
Message ID:
01050415
Vues:
14
>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform