[Quote=引用 2 楼 xmzzy 的回复:]
SHBrowseForFolder 在Vista上也可以正确执行的吧?
[/Quote]
貌似不行,MSDN:
For Windows Vista or later, it is recommended that you use IFileDialog with the FOS_PICKFOLDERS option rather than the SHBrowseForFolder function. This uses the Open Files dialog in pick folders mode and is the preferred implementation.