Browse for Folders & Shell Objects
-
We have been using SHBrowseForFolder which returns a LPITEMIDLIST. That return value is then passed to SHGetPathFromIDList to get the actual path. All good until now. Until recently, we used mapped drives. Now our IT team have replaced those with Shell Objects (using ShellObjectEditor.exe). Now the value in the returned LPITEMIDLIST no longer represents a file systems object and the call to SHGetPathFromIDList either returns something with GUIDs (for the sehell object itself) or nothing (for any subdirectory within the shell object). Any idea how to get the path for a shell object (or its subdirectory) after a call to SHBrowseForFolder? Or, alternatively, is there a replacement for SHBrowseForFolder that supports retrieving the path of shell objects?
-
We have been using SHBrowseForFolder which returns a LPITEMIDLIST. That return value is then passed to SHGetPathFromIDList to get the actual path. All good until now. Until recently, we used mapped drives. Now our IT team have replaced those with Shell Objects (using ShellObjectEditor.exe). Now the value in the returned LPITEMIDLIST no longer represents a file systems object and the call to SHGetPathFromIDList either returns something with GUIDs (for the sehell object itself) or nothing (for any subdirectory within the shell object). Any idea how to get the path for a shell object (or its subdirectory) after a call to SHBrowseForFolder? Or, alternatively, is there a replacement for SHBrowseForFolder that supports retrieving the path of shell objects?
haha