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:
00533364
Views:
10
>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')
Eric Kleeman - EDS Consulting Services
MCP Visual FoxPro
MCSD C#.NET
Hua Hin Thailand
Los Angeles California
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform