xRe*_*Red 10 c++ winapi
在C++中,system()和之间的主要区别是shellexecute()什么?
system()
shellexecute()
在什么情况下我应该使用system()和shellexecute()?
Nic*_*las 7
在标准C++中没有这样的东西shellexecute.所以没有区别.
shellexecute
有Win32函数ShellExecute,但这是一个Win32函数,而不是像C++标准函数system.
ShellExecute
system
ShellExecute做了不同的事情system.system(或多或少)等同于在命令行上输入命令.ShellExecute相当于双击文件(或右键单击并从列表中选择"动词").
他们真的没有任何共同之处.
归档时间:
14 年,8 月 前
查看次数:
8548 次
最近记录:
12 年,12 月 前