CreatFile 问题
wsprintf(cFn, "Account\\AscII%d\\%s.txt", m_cAccountName[0], m_cAccountName); hFile = CreateFile(cFn,GENERIC_WRITE,NULL,NULL,OPEN_ALWAYS,NULL,NULL);
dwFileSize = GetFileSize(hFile, NULL);
if (hFile == INVALID_HANDLE_VALUE)
{
wsprintf(G_cTxt, "(X) 文件夹创建失败!");
PutLogList(G_cTxt);
CloseHandle(hFile);
}
//为什么 会打开失败呢???? 求解!!!! 拜谢。。。。