Index: src/ch/Dialogs.cpp =================================================================== diff -u -rd5c3edd0d167db9b5d47d04248820fda49499a5e -r8068e0c351055554340ac9755d1bc846893bf2b8 --- src/ch/Dialogs.cpp (.../Dialogs.cpp) (revision d5c3edd0d167db9b5d47d04248820fda49499a5e) +++ src/ch/Dialogs.cpp (.../Dialogs.cpp) (revision 8068e0c351055554340ac9755d1bc846893bf2b8) @@ -18,6 +18,7 @@ ***************************************************************************/ #include "stdafx.h" #include "dialogs.h" +#include "shlobj.h" #ifdef _DEBUG #define new DEBUG_NEW @@ -38,16 +39,16 @@ LPITEMIDLIST pidl; // Get help on BROWSEINFO struct - it's got all the bit settings. - bi.hwndOwner = NULL; - bi.pidlRoot = NULL; + bi.hwndOwner = nullptr; + bi.pidlRoot = nullptr; bi.pszDisplayName = pszBuffer; bi.lpszTitle = lpszTitle; bi.ulFlags = BIF_RETURNFSANCESTORS | BIF_RETURNONLYFSDIRS; - bi.lpfn = NULL; + bi.lpfn = nullptr; bi.lParam = 0; // This next call issues the dialog box. - if ((pidl = ::SHBrowseForFolder(&bi)) != NULL) + if ((pidl = ::SHBrowseForFolder(&bi)) != nullptr) { if (::SHGetPathFromIDList(pidl, pszBuffer)) {