je comprends pas ce que je doit faire avec m_ofn.lpstrFile dans l'extrait de la msdn quand je veux recuperer plusieurs chemins de fichiers :
To allow the user to select multiple files, set the OFN_ALLOWMULTISELECT flag before calling DoModal. You need to supply your own filename buffer to accommodate the returned list of multiple filenames. Do this by replacing m_ofn.lpstrFile with a pointer to a buffer you have allocated, after constructing the CFileDialog, but before calling DoModal. Additionally, you must set m_ofn.nMaxFile with the number of characters in the buffer pointed to by m_ofn.lpstrFile.
Cela surtout à répérer les fichiers selectionnés
Tu alloues un buffer pour receptionner le nom des fichiers selectionnés que tu affectes à m_ofn.lpstrFile.
oui mais comment on alloue un buffer??
il faut declarer quoi pour l'affecté a m_ofn.lpstrFile?
je comprends pas si il faut declarer un char * par exemple..
et affecté son adresse à m_ofn.lpstrFile...(ca ca marche pas)