关于文件夹对话框:错在哪儿?
void CDIALOGDlg::OnButton1()
{
// TODO: Add your control notification handler code here
LPBROWSEINFOA PPP;
LPTSTR BBB;
PPP->hwndOwner=this->m_hWnd;
PPP->ulFlags=BIF_RETURNONLYFSDIRS;
PPP->pidlRoot=0;
PPP->lpszTitle="选择路径";
LPCITEMIDLIST JJJ=SHBrowseForFolder(PPP);
SHGetPathFromIDList(JJJ,BBB);
AfxMessageBox(BBB);
}