I know Gabs mate... I havent looked into it that much TBH, but going off what I've read:-
SHGetKnownFolderPath(FOLDERID_ProgramData,0,pStringOut)
or along them lines! :)
[edit]
Yep, normal CSIDL values have been replaced by KNOWNFOLDERID ones (In Vista).
http://msdn2.microsoft.com/en-us/library/bb407328.aspx
Dabz
SHGetKnownFolderPath(FOLDERID_ProgramData,0,pStringOut)
or along them lines! :)
[edit]
Yep, normal CSIDL values have been replaced by KNOWNFOLDERID ones (In Vista).
http://msdn2.microsoft.com/en-us/library/bb407328.aspx
Dabz