How do I find the desktop's directory?
How do I find the desktop's directory?
SHGetFolderLocation look it up
Free the weed!! Class B to class C is not good enough!!
And the FAQ is here :- http://faq.cprogramming.com/cgi-bin/smartfaq.cgi
Yes, but you also have to translate the ID.
Any one got any tips for that?
lol yeah I got it thanks tho,
Code:LPITEMIDLIST dd = NULL; SHGetSpecialFolderLocation( NULL, CSIDL_DESKTOPDIRECTORY, &dd); char szpathint[_MAX_PATH]; SHGetPathFromIDList(dd,szpathint);