Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Passing Arrays From COM object
Message
De
07/04/1999 11:43:25
 
 
À
07/04/1999 10:29:38
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00205960
Message ID:
00206013
Vues:
18
In order to get an array from COM you have to send an array to it. You do that either sending an array or sending an object with array property.
In first case use COMARRAY('comobject', 11) to set 'send array by reference'.
Then comobject.mGetArray(@arrayname). Remember, COM cannot reDim your array. So dimension it with sufficient ammount of elements.
In second case you send an object to COM (I prefer that). That object has an array property and also it can have a method to redimension its array property to exact amount of elements.
*!* parameter object
DIMENSION This.paArray(nnn,mmm).
It still processes on remote computer but you dont have to know the size of array.
HIH
Mark
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform