Hello everybody,
is it possible to set different data types in a COleSageArray?
In the code above I have a COleSafeArray of Strings. But I need the first and the third column to be a integer-value (VT_R8).Code:COleSafeArray saRet; DWORD numElements[2]; numElements[0]= rowCount; //Number of rows in the range. numElements[1]= colCount; //Number of columns in the range. saRet.Create(VT_BSTR, 2, numElements);
Tanks in advance
LexyK


Reply With Quote

Bookmarks