| 查看: 978 | 回复: 9 | |||
| 当前只显示满足指定条件的回帖,点击这里查看本话题的所有回帖 | |||
[交流]
【求助】连接两个软件 已有5人参与
|
|||
| 用MFC编了个小软件 想和另外一个软件(MFC编)链接起来 比如点下按钮就链接到另一个软件 不知道能不能实现 怎么实现 |
» 猜你喜欢
售SCI文章,我:8O.5.5.1O.54,科目全,可十急
已经有3人回复
售一区SCI文章T0P,我:8O.551.O54,科目全,可十急
已经有3人回复
关于Filecode分析方法
已经有13人回复
时间戳又变了8-15
已经有9人回复
售SCI文章,我:8O5.5.1.O.54,科目齐全,可+急
已经有8人回复
欢迎发来filecode的Mz6后的代码验证其规律
已经有52人回复
售一区SCI文章T0P,我:8O.551.O54,科目全,可十急
已经有5人回复
售SCI一区T0P文章,我:8.O.55.1.O.54,科目齐全,可+急
已经有9人回复
哪位老哥知道今年的国自然具体哪一天放榜?
已经有6人回复
售SCI一区T0P文章,我:8O.55.1.O.5.4,科目齐全,可+急
已经有6人回复
» 本主题相关价值贴推荐,对您同样有帮助:
【版规】试题资源版管理规定【版规】
已经有1人回复
考研版版规
已经有45人回复
【求助】TCD测二氧化碳,为何一直是负峰?且一个波峰化为两半波峰
已经有11人回复
【求助】materials studio 软件中高分子材料模拟的力场选择
已经有10人回复
【求助】http://127.0.0.1:18888 打不开
已经有6人回复
一些网站无法打开,具体见贴说明……【谢谢】
已经有10人回复
【求助】DS中如何延长现有的DNA模型
已经有0人回复
【分享】巨牛总结:搞有机必须学会的合成检索方法
已经有169人回复
考研版版规
已经有127人回复
【求助】EndNote引用出现“文件未找到”的问题
已经有8人回复
★ ★ ★
小木虫(金币+0.5):给个红包,谢谢回帖交流
ajian04(金币+2):谢谢交流~ 2010-11-05 17:43:15
小木虫(金币+0.5):给个红包,谢谢回帖交流
ajian04(金币+2):谢谢交流~ 2010-11-05 17:43:15
|
不需要那么多控制权的时候,就可以用ShellExecute啊。 只是WinExec这个函数不要用了,因为MSDN里有注解: Note This function is provided only for compatibility with 16-bit Windows. Applications should use the CreateProcess function. 另外WinExec这个函数不安全: Security Remarks The executable name is treated as the first white space-delimited string in lpCmdLine. If the executable or path name has a space in it, there is a risk that a different executable could be run because of the way the function parses spaces. The following example is dangerous because the function will attempt to run "Program.exe", if it exists, instead of "MyApp.exe". WinExec("C:\\Program Files\\MyApp", ...) If a malicious user were to create an application called "Program.exe" on a system, any program that incorrectly calls WinExec using the Program Files directory will run this application instead of the intended application. To avoid this problem, use CreateProcess rather than WinExec. However, if you must use WinExec for legacy reasons, make sure the application name is enclosed in quotation marks as shown in the example below. WinExec("\"C:\\Program Files\\MyApp.exe\" -L -S", ...) |

10楼2010-11-05 14:31:12

2楼2010-11-04 16:39:36
3楼2010-11-04 16:51:33
holmescn
金虫 (正式写手)
- 程序强帖: 37
- 应助: 1 (幼儿园)
- 金币: 1918.8
- 散金: 275
- 红花: 1
- 帖子: 699
- 在线: 102.6小时
- 虫号: 913482
- 注册: 2009-11-26
- 性别: GG
- 专业: 凝聚态物性 II :电子结构
4楼2010-11-04 18:24:20










回复此楼