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
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only