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:
00533380
Vues:
9
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')
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform