void BtnOpenSpecifile()
{
SHELLEXECUTEINFO shell = { sizeof(shell) };
shell.fMask = SEE_MASK_FLAG_DDEWAIT;
shell.lpVerb = L"open";
CString helppath,fpath;
fpath.Format(L"%s\help",lzy_dir);
vector<CString> pdfnames;
if (!PathIsDirectory(fpath))
{
AfxMessageBox(L"没有找到帮助说明,请检查!");
return PRO_TK_E_NOT_FOUND;
}
_Finder(fpath,L"pdf",pdfnames);
if (pdfnames.empty())
{
AfxMessageBox(L"没有找到帮助说明,请检查!");
return PRO_TK_E_NOT_FOUND;
}
helppath.Format(L"%s\help\%s",lzy_dir,pdfnames[0]);
shell.lpFile = helppath;
shell.nShow = SW_SHOWNORMAL;
BOOL ret = ShellExecuteEx(&shell);
return PRO_TK_NO_ERROR;
}void BtnOpenSpecifile()
{
SHELLEXECUTEINFO she