Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Problem with collections
Message
De
14/08/2001 04:43:39
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
13/08/2001 17:44:31
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
00543270
Message ID:
00543396
Vues:
13
>I have a com object that was written in c++. This object is used to read a binary file and stores the data from this file in a collection property. The problem is that VFP can not read this property. VFP can read other properties of the com object but not the collection. What can I do ?.

What's your syntax ? What's error message displayed ?
Normally for a collection you can use (assuming collection is called locs):
for each oLoc in mycom.locs
*...
endfor
However some collections especially ones in OCXes might not work with this syntax and you could use :
for ix=0 to mycom.locs.Count-1 && Generally 0 based collections
 *oLoc = mycom.Locs(ix)
 *...
endfor
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform