Problem with Array of Array in automating Excel

Hi all
I am having big trouble in understanding how to pass an Array of Array to
Excel.
I have to import an ascii tab delimited file with a variable number of
fields in it into Excel.

Can you have a look at the code I am using (which doesn't work) and point me
in the right direction?
Thank you very much for your help.
Alex

/* I have used the OpenText Excel function to do the job */

  if (!m_XLApp)
    m_XLApp = Excel_tlb::CoApplication_::Create();

  m_XLApp->set_Visible(0, true);

 /* The nFldExported variable contains the number of field being exported to
Excel. */

  int Bounds[2]; Bounds[0] = 0;  Bounds[1] = nFldExported;

 /* Creates an array of variant */
  Variant aFieldInfo = VarArrayCreate(OPENARRAY(int, (0, nFldExported)),
varVariant);

  Variant FieldInfo [2];
/* Put an array into each element. Excel expeces an array of array declared
like this in vb: Array (Array(1,2),Array(2,2),Array(3,2)...) */

  for (int i = 0; i < nFldExported; i++)
  {
     FieldInfo [0] = i+1; /*Field number (1 based)
     FieldInfo[1] = xlTextFormat; /*This is  the field type. (xlTextFormat=2
to force the field as text)
     aFieldInfo.PutElement(VarArrayOf(FieldInfo,1),i);
  }

  TVariant v (aFieldInfo); /*Convert the array into a variant

/* Calls OpenText
  m_XLApp->Workbooks->OpenText (WideString("C:\\My Documents\\export.txt"),
        xlWindows, //Origin
        1, //Start row
        xlDelimited, //delimiter
        xlDoubleQuote, //textqualified
        false,//ConsecutiveDelimiter
        true,//Tab
        false,  //Semicolon
        false,//Comma
        false, //Space
        false,//Other
        false, //TNoParam(), //OtherChar
        v, //FieldType array of array info
        TNoParam(),
        TNoParam(),
        TNoParam(),
        0
        ); //Other