in reply to Re: Determine Standard Windows Paths
in thread Determine Standard Windows Paths
I had to change your Win32::API calls a bit though :-)
Anyway, I wasn't able to get anything working with SHGetSpecialFolderLocation as I couldnt figure out how to pass/manipulate ppidl or ITEMIDLIST objects properly. (I believe they would have to passed on to SHGetPathFromIDList which has pointer/memory management issues that frankly I didnt want to research into...)
So instead I used SHGetSpecialFolderPath and to use that I spent a bit of time looking into the CSIDL enumeration (which was a bit of a pain) so if you get SHGetSpecialFolderLocation happening you should be able to use my CSIDL data.
Anyway, hope my new version meets with your approval.
:-)
Yves / DeMerphq
--
When to use Prototypes?
|
|---|