Salut,
J’ai un problème dans la fonction fopen
CString strFileNamePath// :variable qui contient la valeur du champ texte : chemin du fichier
char szName[200] ;
sprintf( szName , "%ls" , strFileNamePath);
szName[strFileNamePath.GetLength()] = '\0';
if ((pTraceFile = fopen(szName,"rb")) != NULL)
{
}
-->pointeur pTraceFile retourne toujours NULL
je sais pourquoi