Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Instantiating Business Object
Message
General information
Forum:
Visual FoxPro
Category:
The Mere Mortals Framework
Miscellaneous
Thread ID:
00533348
Message ID:
00533380
Views:
10
Eric,

Thanks for your reply. I should have stated earlier that VFP, after ignoring all the errors, does instantiate my class. It's the other classes that the business object loads that cannot be found, although I think by doing SetX the framework takes care of all the SET CLASSLIB/PROCEDURE for me. At least that's my understanding. Thanks --Tom

>>Hi,
>>
>>I've created a business object and am trying to instantiate it via the command window. I'm getting a "Class definition is not found." error. I've done the StartMM and SetX programs. It seems to be erroring in the cAbstractFactory.AbstractFactoryObj.SelectAlias() method. Any help would be greatly appreciated. Thanks --Tom
>
>If your object is defined in a vcx...
>
>SET CLASSLIB TO path/myvcx ADDITIVE
>oObject = createobject('mybizobject')
>
>If your object is defined in a prg...
>
>SET PROCEDURE TO path/myprg ADDITIVE
>oObject = createobject('mybizobject')
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform