Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Collection class in COM servers in Visual Basic
Message
 
To
17/11/2003 23:11:47
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00850854
Message ID:
00850866
Views:
16
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform