I'm looking for a Windows variable (accessible in c++) that contains the path to a user's my documents folder in XP, but the folder above that in vista.
SO in
XP: C:\Documents and Settings\Tom\My Documents
Vista: C:\Users\Tom
It is a program (AIM specifically), which uses this variable the directory and I'm having a hard time figuring out what it is..