I have an application written in MFC6 which uses the CFileDialog class.
On a particular machine, as you are navigating around directories, the application will suddonly terminate - no message!
I do not get this issue on other machines, so I believe that there may be an old (or new) DLL on the PC.
I have checked comdlg32.dll and it is dated 04/2008 on both machines.
CString szFilter( "Audio Files (*.wav)|*.wav|All Files (*.*)|*.*||");
CFileDialog x_file_dialog(TRUE, "Wav", "Untitled", OFN_OVERWRITEPROMPT, szFilter, NULL);
if (x_file_dialog.DoModal() == IDCANCEL) return;
x_filename = x_file_dialog.GetPathName();
if (x_filename.IsEmpty() != 0) return;