typedef vector<CStringW> FileLines;
typedef vector<CStringW> HeadNameHtml;
typedef vector<CStringW> RowValue;
typedef map<int, RowValue> TableValueHtml;
//输出数据到临时文件,返回文件全名
CStringW OutputHtmlW(FileLines lineInfo, CStringW wcsFileName)
{
FileLines::iterator ite;
wchar_t wcsPath[MAX_PATH];
wchar_t wcsLogFileName[MAX_PATH];
memset(wcsPath, 0, sizeof(wcsPath));
memset(wcsLogFileName, 0, sizeof(wcsLogFileName));
GetModuleFileNameW(NULL, wcsPath, sizeof(wcsPath));//取得exe全名称
wchar_t* pwcsEnd = wcsrchr(wcsPath,'//');
pwcsEnd++;
*pwcsEnd = '/0';
wcscat(wcsPath, wcsFileName);
std::wofstream output(wcsPath, ios::trunc);
output.imbue(locale("chs") ); //设定当前编码为中文
for (ite = lineInfo.begin(); ite != lineInfo.end(); ite+