I'm working on a script where I need to allow the user to select a folder on their system.
This WinAPI will apparently do the job, but I find it incredibly hard to follow - it seems to need you to call a different function (API?) both before and after SHBrowseForFolder, and I have no idea about the arguments/structures required.
Is anyone able to get this up and working, or aware of an alternative I could use instead?
http://msdn.microsoft.com/en-us/library/bb762115(v=vs.85).aspx
This WinAPI will apparently do the job, but I find it incredibly hard to follow - it seems to need you to call a different function (API?) both before and after SHBrowseForFolder, and I have no idea about the arguments/structures required.
Is anyone able to get this up and working, or aware of an alternative I could use instead?
http://msdn.microsoft.com/en-us/library/bb762115(v=vs.85).aspx

