Whenever I try to use the GetFolderPath( ) method of CFileDialog, I get an error.
Code:CFileDialog cfd( false, NULL, NULL, OFN_FILEMUSTEXIST | OFN_EXPLORER | OFN_HIDEREADONLY, "Microsoft Access Databases (*.mdb)|*.mdb|All Files (*.*)|*.*||" ); if( cfd.DoModal( ) == IDOK ) { cfd.GetFolderPath( ); }Code:Debug Assertion Failed! Program: ... File: dlgfile.cpp (not even in project!) Line: 308