Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Objects with multiple interfaces.
Message
From
10/07/2000 09:39:06
 
 
To
10/07/2000 09:04:16
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00390147
Message ID:
00390168
Views:
11
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform