XLL+ Class Library (6.3)

CXlArray::AllocInit

Resizes a CXlArray object and initializes its memebers to zero

void AllocInit(
   size_t cRows,
   size_t cCols
);

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.

Remarks

The array will be resized and all its values will be set to zero.

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::Alloc()