Reciving PSafeArray nad OleVariant Data from COM ....
Posted on 2001-09-05
I'm building an OLE Automation Server that interfaces Excel XP :-(
I Recieve/Send one type of data that I don't know how to handle :
var Strings : PSafeArray
PSafeArray is a pointer to a SafeArray.
In this case it points to an array of Strings
(The VB code is [strings() As Variant])
The array dimensions are [0..1, 0..x] where x is
the number of items sent.
In one case I need to read the array, in the second I need
to write it.
I DONT KNOW WHERE TO START FROM
Any help on how to read and write this structure will be appreciated.