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 noconsoleThen 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