TCHAR_TO_ANSI can’t be used to store variable, check the doc on that macro.
I find a solution :
const char ** achar = new const char*outArray.Num();
int32 i = 0;
while (i < outArray.Num()) {
achar[i] = (char*)outArray[i].GetCharArray().GetData();
i++;
}