GLProgramming.com

home :: about :: development guides :: irc :: forums :: search :: paste :: links :: contribute :: code dump

-> Click here to learn how to get live help <-


New Paste :: Recent Pastes:: No Line Numbers


Nonworking code for retrieving my documents by Yoran
1
 
LPITEMIDLIST pidl    = NULL;
TCHAR szPath[MAX_PATH];

SHGetFolderLocation(NULL, CSIDL_PERSONAL, NULL, NULL, &pidl);
SHGetPathFromIDList(pidl, szPath); 

std::cout << szPath;