Posted on 2013-01-14 08:47
盛勝 閱讀(273)
評(píng)論(0) 編輯 收藏 引用
if (PathFileExists(m_StrWordPath))
{
CString tempStr;
tempStr.Format("shell32.dll,OpenAs_RunDLL %s",m_StrWordPath);
int isError=(int)ShellExecute(NULL, "open", "rundll32.exe ", tempStr, "", SW_SHOW);
}