Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How do you track down a C5 error?
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00502940
Message ID:
00502994
Views:
16
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
Previous
Reply
Map
View

Click here to load this message in the networking platform