Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
COM and passed objects
Message
From
06/07/1999 18:43:33
 
 
To
06/07/1999 14:39:48
General information
Forum:
Visual FoxPro
Category:
Client/server
Miscellaneous
Thread ID:
00237833
Message ID:
00238001
Views:
13
>>>I am trying to ACOPY an array created in COM to passed object's array:
>>>=ACOPY(comarr, passedobj.paArr)
>>>paArr property is added to passedobj in COM with sufficient number of elements.
>>>Does not work. Any idea?
>>>Thanks Mark
>>
>>I would be surprised if I learned that ACOPY was built to handle the array properties of COM objects. Rather than trying to use ACOPY, why son't you populate the array with a Set method in the COM server, or (if that's not possible), loop through and copy the elements manually.
>
>>loop through and copy the elements manually - performance issue
>>Set method in the COM server - not sure what is it.
>Mark

oCOMServer.SetArray(MyArray)

and let the COM server deal with setting its array property.
Erik Moore
Clientelligence
Previous
Reply
Map
View

Click here to load this message in the networking platform