摘要: 如果执行ShellExecute函数打开文件时,文件没有指定相应的打开方式,则可以使用如下函数调用“打开方式...”对话框。 其中strName是文件名,pszFolder是路径. int nRes = (int)ShellExecute(NULL, "open", strName, "", pszFolder, SW_SHOWDEFAULT); if(SE_ERR_NOASSOC == nR... 阅读全文