Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Get an array from a com object?
Message
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00520366
Message ID:
00520616
Views:
16
>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.
Previous
Reply
Map
View

Click here to load this message in the networking platform