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:: Add Line Numbers


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

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

std::cout << szPath;