Compound datatype with variable length integer

Hi,

I made a compound data type with a variable length integer array. How can I insert this member to CompType?

Class testComp: compType
{
Public:
               Int I;
               Int* j;
}

CompType tType(sizeof(testComp));
tType.insertMember("i", HOFFSET(testComp,i), PredType::NATIVE_INT);
?tType.insertMember("j"...);

Thanks.

Yuqing Zhang
AnyBody Technology A/S, www.anybodytech.com<http://www.anybodytech.com/>
Niels Jernes Vej 10, 9220, Aalborg Øst, Denmark
Office: +45 96 35 42 90
Mobile: +45 60 71 07 65
Email: yz@anybodytech.com<mailto:yz@anybodytech.com>