title: Getting a crash inside SHBrowseForFolder()
body: <p>I am getting a crash inside win32 fn:: SHBrowseForFolder().
  The code is as follows:</p>
  
  <pre><code>            BROWSEINFO   bi = {0}; 
      TCHAR   szDisplayName[MAX_PATH]; 
      szDisplayName[0]    =   ' ';
  
      bi.hwndOwner        =   NULL; 
      bi.pidlRoot         =   NULL; 
      bi.pszDisplayName   =   szDisplayName; 
      bi.lpszTitle        =   _T("Please select a folder :"); 
      bi.ulFlags          =   BIF_RETURNONLYFSDIRS;
      bi.lParam           =   NULL; 
      bi.iImage           =   0;  
  
      LPITEMIDLIST   pidl   =   SHBrowseForFolder(&amp;bi);//crashes
  </code></pre>
  
  <p>The crash comes only in some XP machines and doesn't come on vista machines.
  Kindly suggest some solutions.</p>
  
  <p>Thanks. </p>