voici le code de ma fonction quand j'appuie sur "ouvrir" :
CFileDialog OpenDlg(TRUE,"*.txt",NULL,OFN_HIDEREADONLY,"Text Files (*.txt)|*.txt||",this);
BootDlg.m_ofn.lpstrTitle = "Select a txt File";
if(BootDlg.DoModal() == IDOK)
{
}
donc, bon, ça marche, sauf que quand je quitte l'application, j'ai :
The thread 0xFFC1D9E5 has exited with code -1 (0xFFFFFFFF).
The thread 0xFFC1FDCD has exited with code 0 (0x0).
The program 'C:\Joel\BTest\Debug\BTest.exe' has exited with code 0 (0x0).
étant, donné que mon appli se résume pour l'instant qu'à cette fcn, le -1 ne peut provenir que de là !
Pourquoi ???
merci d'avance et bon ap' !