windows - Writing to user documents folder C++ -
i'm trying write info user's documents folder (eg. c:\documents , settings\[username]), can't seem find out how grab path programmatically. there way this? c++, not using .net.
thanks!
shgetfolderpath csidl_personal can used user's documents folder.
wchar path[max_path]; hresult hr = shgetfolderpath(null, csidl_personal, null, shgfp_type_current, path);
Comments
Post a Comment