注册 登录
编程论坛 C++教室

求助:在C++中调用exe文件

lixing701 发布于 2010-05-19 18:18, 670 次点击
如题,希望大侠解答!!
2 回复
#2
ciweitou1632010-05-24 14:49
例如:运行C:\\Program Files\\MyApp.exe可以这么写。

#include<Winbase.h>
WinExec("C:\\Program Files\\MyApp",SW_SHOW);


具体参阅MSDN
#3
apull2010-05-24 18:25
system("notepad.exe");
1