Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Objects with multiple interfaces.
Message
De
10/07/2000 09:39:06
 
 
À
10/07/2000 09:04:16
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00390147
Message ID:
00390168
Vues:
10
>We are trying to use a set of objects(ArcObjects) from another software vender(ESRI). We have not been able to get them to work in FoxPro.
>
>What there tech support has told me is...
>
>All ArcObjects are CoClasses.
>What I need to know is can VFP CoCreate objects that have multiple interfaces?
>


Yes, that's what you do when you use CREATEOBJECT to create an instance of a COM class. The multiple interfaces are defined when the object is compiled, but that's invisible to VFP. A "CoClass" is nothing more than a top-level COM object, IOW, one that can be created with CoCreateInstance, which is what VFP uses behind the scenes when you do a CREATEOBJECT().

What happens when you try to instanciate the object?
Erik Moore
Clientelligence
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform