Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Instantiating Business Object
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
The Mere Mortals Framework
Divers
Thread ID:
00533348
Message ID:
00533595
Vues:
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')

Actually, I did not realize I was in the Mere Mortals framework area. I don't use it. Sorry.
Eric Kleeman - EDS Consulting Services
MCP Visual FoxPro
MCSD C#.NET
Hua Hin Thailand
Los Angeles California
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform