Information générale
Catégorie:
COM/DCOM et OLE Automation
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!!! :)
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement