(LPCWSTR ) string_array[i].GetUnicode(),  string_array[i].Length(),
(LPCWSTR ) string_array[i].get(),  string_array[i].Length(),
static void TestSortPrintToFile(nsString *string_array, int len){  char cstr[512];  for (int i = 0; i < len; i++) {#ifdef WIN32  int len = WideCharToMultiByte(GetACP(), 0,                                (LPCWSTR ) string_array[i].GetUnicode(),  string_array[i].Length(),                                cstr, 512, NULL,  NULL);  cstr[len] = '\0';#else    string_array[i].ToCString(cstr, 512);#endif    fprintf(g_outfp, "%s\n", cstr);  }  fprintf(g_outfp, "\n");}