Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
OMeta can only be created from on directory
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Stonefield
Divers
Thread ID:
00213068
Message ID:
00213099
Vues:
28
>When I issue the following command:
>set classlib to dbcxmgr additive
>oMeta = createobject('metamgr')
>? type('oMeta')
>
>The type of oMeta is 'O' if I issue these command from one directory. If I switch to a different directory the type of oMeta is 'L'. Which I am assuming means the object wasn't created.

Yep... it is returning a False.

>Everything is the same except for the local directory. The path is the same and the stonefield classe libraries are in the path.
>
>What am I missing?

I belive DBCXMgr expects the MetaData to be in the current directory (or the path)... If DBCXMgr can't find the metadata it doesn't load... I think you have to pass the metadata path when you init this class... That would explain why it works in one directory and not another.

BOb
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform