Hi I need to get the path of a folder for a program I am writing, I have to be honest I am winging it a bit sort of understood the SHBrowseForFolder class so far, and managed to get one open and get the return value, now I just need to know how to handle the return value, the item id string it returns means nothing to me any help would be greatly appreciated, thanks, here is my code.
Just to clarify I understand what it returns but the abID member item id list is what I need to handle and I don't understand how it translates to a folder path.
int i = 0;
memset(temp, '\0', sizeof(temp));
dlgbox.hwndOwner = NULL;
dlgbox.pidlRoot = NULL;
dlgbox.pszDisplayName = temp;
dlgbox.lpszTitle = "Select Report Dir";
dlgbox.ulFlags = BIF_EDITBOX;
dlgbox.lpfn = NULL;
retdir = SHBrowseForFolder(&dlgbox);