In Windows 7 reusing a CFileDialog causes an ASSERT in debug, and throws an exception which displays a message box "Encountered and Improper Argument". The code works in Windows XP, and works in Windows 7 if the "bVistaStyle" parameter is FALSE.
Visual Studio/Team Foundation Server/.NET Framework Tooling version
Steps to reproduce
Product Language
Operating System
Operating System Language
Actual results
Expected results
Please wait...