Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Com and Collections
Message
From
16/01/2004 09:41:45
 
 
To
16/01/2004 09:23:44
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00867459
Message ID:
00867471
Views:
27
From what I can see, the COM is surely build in C++ and is using an COM interface that is not supported by VFP (or VB for that matter). Your only option, AFAIK, is to buid a C++ COM between the original COM and your VFP application that will transform the collection in something VFP can understand.

Update: Nick reply reminded me that VFP 8 now support collections... Sorry, still stuck in VFP 7 world...

>I have a project coming up that will require me to access Com objects that return a collection. I have some experience with com objects in general but have never dealt with a com object that returns a collection before and, was wondering if there is anything I might need to know about how vfp will handle the collection. Does it create a VFP type array?? etc.. and how would i pass a collection to the com object. Anyways if its no big deal let me know and if it is a big deal definatly let me know!!! :)
Previous
Reply
Map
View

Click here to load this message in the networking platform