文章标题 原创 翻译 转载 文章内容 ``` int GetCustomerName(LPCTSTR szCustomerPath, CString strFileName[]) { int nFileCount = 0; WIN32_FIND_DATA finder; CString strCustomerFile(szCustomerPath); strCustomerFile += L"//*.txt"; HANDLE hFind = ::FindFirstFile(strCustomerFile, &finder); if (INVALID_HANDLE_VALUE == hFind) { nFileCount = 0; } else { do { strFileName[nFileCount] = finder.cFileName; FILETIME fileTime = finder.ftCreationTime; nFileCount++; }while(::FindNextFile(hFind, &finder) != 0); } ::FindClose(hFind); return nFileCount; } ``` > (迁移2011-05-08) 文章类别 Python Mobile Android Java Shell Life Database Bug Windows IOS Tools Boost Node.js Mac Product Tips C/C++ Golang Javascript React Qt MQ MongoDB Design Web Linux LLM ChatGPT RAG AI 提交