调用winexec函数时,第一个参数用*.exe+filename 调用,结果*.exe打不开filename ,但是用*.exe的打开菜单却可以打开filename,请问这是为什么,谢谢
解决方案 »
- 请问各位大侠,cpp、dll和lib文件的区别是什么。。。一直没搞明白~
- 安装包下载器应该怎么架构比较好
- 请问高手这个程序该怎么编...谢谢了...
- 请教7-zip的接口问题
- 如果是你,你会选择哪家公司?(请大家给个建议拉!)
- CMDIFrameWnd内的所有已打开子窗口的标示是存储在哪里的?
- 关于静态连接和动态连接,在下有个问题。
- 100分求解:单文档多视图的实现
- 碰到一件怪事,请各位大侠帮个忙!!在线等待
- URLDownloadToFile中断后再下载的问题
- 关于 链表线程 问题(菜鸟)
- 线程访问 我定义了一个m_hStopEvent,并用CreateEvent创建它,我要问这个m_hStopEvent是不是不能同时在两个线程内访问它
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 s as shown in the example below.WinExec("\"C:\Program Files\MyApp.exe\" -L -S", ...)