force SHBrowseForFolder() to show desired directory
问题 I've been searching online and fighting this thing for over an hour and still can't seem to get it to work. Most people seem to be satisfied when they get it this far on forums etc. but mine still doesn't work. I'm trying to force the SHBrowseForFolder() function to start in a folder of my choosing. char current[MAX_PATH]; strcpy(current,"C:\\Users"); char outbuf[MAX_PATH]; BROWSEINFO bis; bis.hwndOwner = NULL; bis.pidlRoot = NULL; bis.pszDisplayName = outbuf; bis.lpszTitle = (LPCSTR)"HERE";