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:
00758190
Views:
28
Aaron,

I think you need to add some debug code to test the current classname right before the createobject call. I'm betting that the name is either invalid or your classlib path no longer contains the correct classlibs.

>I have a routine which instanciates an object using the CREATEOBJECT() function.
>
>My problem is, when this routine is called a number of times in succession, eventually it will generate the error "Class Definition is not found."
>
>This doesn't happen ALL the time, but clearly it's not just a case of "well you have typo in the class name", or "you haven't used SET CLASSLIB", because it works "for a while".
>
>It's as though VFP is dropping the class from memory (wild guess.)
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform