IFileSaveDialog - choosing folders in Windows 7
问题 In Vista, I have been using an IFileSaveDialog to let users pick a "save-as" folder. Users export a folder of images, say, and need to choose a new or existing target folder. Briefly, the code goes like this: IFileSaveDialog* dialog; // created dialog->SetOptions(FOS_PICKFOLDERS); dialog->Show(NULL); dialog->GetResult(&shellItem) In Windows 7, the FOS_PICKFOLDERS option appears to have been disallowed (and is marked as such in the API). The return value on the SetOptions call is E_INVALIDARG