The objects aren't that complex, bascially it just opens some tables, adjusts them or returns calculations based on their content, then cleans up after itself.
I'm going to try Glen's idea of using NEWOBJECT instead as I can bypass the loss of the CLASSLIB setting by specifying the class as a parameter, I'll let you know how it goes one way or the other.
Thanks to everyone for your feedback.
- Aaron.
>Aaron
>
>What sort of objects are these? Are they big enough that you are really doing something like running out of memory?
>
>>I will run some tests, but I'm almost positive it will be that the classlibs are no longer correct... However, my point is, it works x number of times, then for the x + 1 time it fails, i.e.
>>
>> FOR X = 1 TO 1000
>> * Execute Code Containing CREATEOBJECT()
>> ENDFOR
>> * Error occurs when X = 925 (made up no.)
>>
>>So it's as though the classlibs are dropping this class for some reason.
Aaron Young
Red Wing Software, Inc.