1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41
   |  
std::list<ARCHIVEPARAM> oListe = leListeArchive->GetListe();
	std::list<ARCHIVEPARAM>::const_iterator it = oListe.begin();
 
	while (it != oListe.end())
	{
		ARCHIVEPARAM const& oP = (*it);
		//it++;
 
		CString s;
		// Rachid R2GA01FAG184264
        if (ExisteFichiers (oP.sNom))
		{
			oTable.SetAt("date", oP.oleDate.Format((UINT)IDS_FORMAT_DATE_HEURE));
			oTable.SetAt("nom_fichier", oP.sNom);
			oTable.SetAt("repertoire", oP.sRepertoire);
 
			s.Format("%d", utile::uiTailleEnKo(oP.iTaille));
			oTable.SetAt("taille", s);
 
			/*if (oP.bAdapte)
			{
			CString sMsg;
			sMsg.LoadString(IDS_STRING_YES);
			oTable.SetAt("adapte", sMsg);
			}
			else
			{
			CString sMsg;
			sMsg.LoadString(IDS_STRING_NO);
			oTable.SetAt("adapte", sMsg);
		    }*/
 
		    bRes &= (oGen.AjoutLigne(oTable,"") != 0);
		}
		else
		    oListe.pop_front();
 
 
		it++;
	} | 
Partager