#include "stdafx.h"#include #include #pragma comment(lib, "Shlwapi.lib")int _tmain(){ TCHAR szPath[MAX_PATH]; if(S_OK==SHGetFolderPath(NULL, CSIDL_PERSONAL|CSIDL_FLAG_CREATE, NULL, 0, szPath)) { //PathAppend(szPath, TEXT("New Doc.txt")); //HANDLE hFile = CreateFile(szPa Read More