double varValue[100];
bool setTable = false;
bool getTable = false;
long lStartPos = 100;
long lBuffSize = 24;
for (int i = 0; i < 24; i++)
{
varValue[i] = i;
}
setTable = TrioPC_SetTable(triopc_context, 0, lBuffSize, varValue);
getTable = TrioPC_GetTable(triopc_context, 0, lBuffSize, varValue);
SetTable takes in a double* array as a parameter, not a VARIANT.
TrioPC_SetTable([context,] startPos, numberElements, arrayOfElements)
TrioPC_GetTable([context,] startPos, numberElements, arrayToStoreElements)