>Both of them.
So I would guess that the place where the problem occurs will probably not be the place where it is caused. I would suggest the following (in the order you prefer):
- Try to isolate the problem by commenting out more and more lines of code from the method and see if it helps.
- USE the VCX/SCX and make a COPY TO another file and test your code with the new library.
- USE the VCX/SCX and do a REPLACE objcode WITH "" ALL
- Make sure you have no dangling object references hanging around. This might not cause problems immediately where they were left over but could make problems later on.
BTW: I had this effect many times when I extensively created objects and had some fragments left over. Since I'm doing my own garbage collection I think I've never seen that again.
HTH,
Armin