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
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