mfc--使用ShellExecute打开另一个可执行程序

ShellExecute(sFile [, vArguments] [, vDirectory] [, vOperation] [, vShow])

ShellExecute(NULL,"open",strExePath,strCmd,m_ExeFilePath,SW_SHOWNORMAL);

strExePath全路径

strCmd传的时候要用双引号""括起来

m_ExeFilePath :当strExePath是全路径时,可为NULL

posted on 2014-03-11 22:55  DaMengZhang  阅读(1032)  评论(0编辑  收藏  举报