三个SDK函数: WinExec, ShellExecute,CreateProcess可以实现调用其他程序的要求,其中以WinExec最为简单,ShellExecute比WinExec灵活一些,CreateProcess最为复杂。 ??? WinExec 两个参数,前一个指定路径,...
原文来自:http://blog.csdn.net/yanjiaye520/article/details/6543165有三个API函数可以运行可执行文件WinExec、ShellExecute和CreateProcess。1.CreateProcess因为使用复杂,比较少用。2.WinExec主...
分类:
其他好文 时间:
2014-07-11 18:45:42
阅读次数:
288
C++中打开文件的方法。1.system();函数原型:intsystem(char*command);作用:发出一个DOS命令。特点:该函数是同步的,不灵活。只是能够改为system("start
XXX");2.WinExec()3.ShellExecute()4.CreateProcess()...
分类:
其他好文 时间:
2014-06-13 06:50:36
阅读次数:
262
C++中打开文件的方法。
1.system();
函数原型: int system(char *command);
作用:发出一个DOS命令。
特点:该函数是同步的,不灵活。
2.WinExec()
3.ShellExecute()
4.CreateProcess()
{CSDN:CODE:337983}...
分类:
其他好文 时间:
2014-05-11 14:28:00
阅读次数:
334