I am using the "Browse For Folder" common dialog box and oddly enough, whereas the "Open/Save as" common dialog uses a string to represent the full path of the selected file, "Browse For Folder" instead uses a PIDL_ABSOLUTE. After investigating exactly what this structure is I know now how to use it; however I am still at a loss to find a way to convert a PIDL into to a regular string that represents the path.
So far I have found ILCreateFromPath() which converts a string path into a PIDL, but what I need is something to do the exact opposite, a function that converts a PIDL into a string path. Any suggestions?
(alternatively is there an even better way to implement a "Browse for folder" dialog without having to deal with PIDLs?)
Thanks for any suggestions.