I missing the function "TM1ValArraySize"in the TM1 C-API (Tm1api.h). I need this to determine the actual number of array elements returned from "TM1CubeCellsValueSet".
I already tryed to use "TM1ValArrayMaxSize" but then, the next call "TM1ValArrayGet" causes a crash in the tm1api.dll.
The manual of the TM1 API tells me to use TM1VallArrraySize instead of TM1ValArrayMaxSize:
The tm1api.dll does export this function, but it's not included in the API header.TM1ValArrayMaxSize returns the maximum number of components of an array value capsule.
The actual number of array elements in the value capsule is returned by the function
TM1ValArraySize
Is there any reason? What can I use instead?
Cheers,
Martin