XLL+ Class Library (6.3)

CXlArray::CreateFromRows

Creates and populates a CXlArray object

void CreateFromRows(
   size_t cRows,
   size_t cCols,
   const double* const* apd
);

Parameters

cRows

The number of rows a newly created array object should contain.

cCols

The number of columns a newly created array object should contain.

apd

An array of cCols pointers to double arrays, each array containing cRows items.

Exceptions

If memory allocation fails, then an exception of type CXlMemoryAllocationFailedException will be thrown. Since this exception is derived from CXlRuntimeException, it will be caught by the add-in wrapper function when this method is called from within an add-in function.

Requirements

Header: xllplus.h

See Also

CXlArray Class | CXlArray Methods | CXlArray::Create() | CXlArray::CreateFromCols()