Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How do you track down a C5 error?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00502940
Message ID:
00502994
Vues:
15
I'm getting a C5 error when quiting an application. This only occurrs about 10% of the time. How do you go about resolving these kinds of errors?
It may have something to do a procedure I added that uses addobject() and removeobject() during runtime because I don't think it was happening before I added it. Otherwise application runs fine.


Add a couple lines of code just before quitting that lists the memory and object status to a text file ala,

List MEMORY TO FILE tempmem.txt NOCONSOLE
List Objects to file tempobj.txt noconsole


Then you can look at these files and what "hanging references" you have. Probably the objects are more critical. You can then ensure that you do the clean-up of the objects before quitting.

Kevin
Kevin Emmrich
www.jkt9000.com
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform