Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Get an array from a com object?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
00520366
Message ID:
00520616
Vues:
17
>lnArrayLength=loCOMOjbect.GetArrayLength()
>dimension MyArray(lnArrayLength)
>loCOMOjbect.GetArrayData(@MyArray)
That's an interesting idea, and I might try something like that.

The array, however, is "Multidimensioned" sometimes [x,2] or [x,8] so I'd have to request two dimensions.

The work around I have, which is cludgey, is to call a routine that saves the array to a .mem file, which can then be "restore from ... additve" this is working, but I don't really like it.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform