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);
}
}
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); }
|
||||||||||||||||||||||