Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Collection class in COM servers in Visual Basic
Message
 
À
17/11/2003 23:11:47
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
00850854
Message ID:
00850866
Vues:
18
>I have created a com dll in visual foxpro 8.0. One of the methods creates a collection object and places it into one of the properties of the dll. when i use this dll in visual basic and use this method i cannot access the items in the collection. i can access the count property but not the items ???

Are you saying the collection object is assigned to a property? It seems like the collection object should be created (CREATEOBJECT()) inside your COM and collection items assigned there.

If the collection needs to be 'built' outside the COM, then, after it is built, it could be passed as a parameter to a COM method that would assign it a COM reference.

If you can, summarize the code and post it. The collection as well as the 'property' assignment of the collection in the COM.
Imagination is more important than knowledge
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform