aStr.GetUnicode(), aStr.Length(),
aStr.get(), aStr.Length(),
char* GetACPString(const nsString& aStr){   int acplen = aStr.Length() * 2 + 1;   char * acp = new char[acplen];   if(acp)   {      int outlen = ::WideCharToMultiByte( CP_ACP, 0,                       aStr.GetUnicode(), aStr.Length(),                      acp, acplen, NULL, NULL);      if (outlen >= 0)         acp[outlen] = '\0';  // null terminate   }   return acp;}