printf("this is the modem inside the modemconfig %s \n", returnData.ToNewCString());
printf("this is the modem inside the modemconfig %s \n", NS_LossyConvertUCS2toASCII(returnData).get());
char* GetModemConfig(void){	char**                  modemResults;	int             numDevices;	int             i;	nsString                 str, tmp, returnData;	if ( !::GetModemList( &modemResults, &numDevices ) )	{		if ( modemResults != NULL )		{			for ( i = 0; i < numDevices; i++ )			{				if ( modemResults[ i ] != NULL )					delete []modemResults[ i ];			}			delete []modemResults;		}		return NULL;	}	// copy all entries to the array//	returnData[ 0 ] = 0x00;	returnData.SetLength(0);/*	// pile up account names in a single array, separated by a ()	for ( i = 0; i < numDevices; i++ ) 	{   		tmp = modemResults[ i ];		str += tmp;		str += "()";  		delete []modemResults[ i ];	}//	strcpy( returnData, (const char*)str ); */	returnData.AssignWithConversion(modemResults[0]);//	returnData = tmp;	printf("this is the modem inside the modemconfig %s \n", returnData.ToNewCString());	delete []modemResults;return returnData.ToNewCString();}