bonjour voila je n'arive pas a récupéré la chaine de caractère dans une line de mon editBox
voila mon code
quand je l'execute j'ai une erreur
CString strTruc;
char * f;
int nb;
// TODO: Add your control notification handler code here
// CEdit truc= (CEdit )GetDlgItem(IDC_EDIT1_TRAJECTOIRE);;
CEdit * pListBox2 = (CEdit *)GetDlgItem(IDC_EDIT1_TRAJECTOIRE);
//strTruc=
nb=pListBox2->GetLineCount();
strTruc=pListBox2->GetLine(1,f);
merci!