Introduction - If you have any usage issues, please Google them yourself
This procedure to achieve a multi-threaded file Quick Search. In the usual operating systems such as Windows 2000, have provided a document search function, but uses the order of search, the search less efficient. In this procedure, the use of multi-threaded search technology, you can significantly improve search efficiency. This procedure uses the following main function:// find the specified directory of the first file HUNDLE FindFirstFile (LPCTSR lpFileName, LPWIN32_FIND_DATA lpFindFileData)// find the specified directory under a file BOOL FindNextFile (HANDLE hFindFile, LPWIN32_FIND_DATA lpFindFileData)// thread the implementation of function UINT GetFilePathTHreadProc (LPVOID pParam)// Search the specified directory void GetFilePath ()
Packet : 29782207multithreading_file_search.rar filelist
实例56-多线程文件搜索\DIRDIALOG.CPP
实例56-多线程文件搜索\DIRDIALOG.H
实例56-多线程文件搜索\FILEFIND.APS
实例56-多线程文件搜索\FILEFIND.CLW
实例56-多线程文件搜索\FILEFIND.CPP
实例56-多线程文件搜索\FILEFIND.DSP
实例56-多线程文件搜索\FILEFIND.DSW
实例56-多线程文件搜索\FILEFIND.H
实例56-多线程文件搜索\FILEFIND.NCB
实例56-多线程文件搜索\FILEFIND.OPT
实例56-多线程文件搜索\FILEFIND.PLG
实例56-多线程文件搜索\FILEFIND.RC
实例56-多线程文件搜索\FILEFINDDLG.CPP
实例56-多线程文件搜索\FILEFINDDLG.H
实例56-多线程文件搜索\RES\FILEFIND.ICO
实例56-多线程文件搜索\RES\FILEFIND.RC2
实例56-多线程文件搜索\RESOURCE.H
实例56-多线程文件搜索\STDAFX.CPP
实例56-多线程文件搜索\STDAFX.H
实例56-多线程文件搜索\RES
实例56-多线程文件搜索