Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Recursive Calls to CREATEOBJECT woes...
Message
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00758132
Message ID:
00759530
Views:
25
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.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform