//windows  search   
 
BOOL  SearchFile(CString  path) 

           if(path.Right(1).Compare("\\")!=0
                       path+="\\";             
 
           SHELLEXECUTEINFO  ss; 
           ZeroMemory(&ss,sizeof(ss)); 
           ss.cbSize  =  sizeof(ss); 
           ss.hwnd  =  GetSafeHwnd(); 
           ss.nShow  =  SW_SHOW; 
           ss.fMask    =  0; 
           ss.lpVerb  =  _T("find"); 
            
           CString  sPath=path; 
           ss.lpFile  =  (LPCTSTR)sPath; 
           return  ShellExecuteEx(&ss); 
}

相关文章:

  • 2022-12-23
  • 2021-06-08
  • 2021-10-13
  • 2022-12-23
  • 2021-12-20
  • 2023-01-06
  • 2022-02-16
  • 2021-05-02
猜你喜欢
  • 2022-12-23
  • 2021-09-04
  • 2021-08-16
  • 2021-05-11
  • 2021-05-26
  • 2021-12-23
相关资源
相似解决方案