Should
SHGetSpecialFolderLocation(0,2,temp)
actually be
SHGetSpecialFolderLocation(0,folder,temp)
in the function GetSpecialFolderLocation$(folder) ?
SHGetSpecialFolderLocation(0,2,temp)
actually be
SHGetSpecialFolderLocation(0,folder,temp)
in the function GetSpecialFolderLocation$(folder) ?