各位大侠好小弟最近在Vista系统下使用ShellExecute函数启动另外一个程序的时候遇到了一个问题,如下:就是启动同一个程序,有的时候成功,有的时候失败,不知道是什么原因,这里高手如云,请给位指教。ps 查了很多资料,都说是UAC引起的,但为什么有时候还能成功呢?
同样的程序在XP和win7下都没问题,唯独Vista。谢谢。
同样的程序在XP和win7下都没问题,唯独Vista。谢谢。
解决方案 »
- 使用ADO连接MySql数据库,打开表时出现驱动程序不支持所需的属性
- [C++界面库] los-lib 0.42,最后更新:2009-1-3
- 急,我用vc mscomm通信,为什么短字符串可以发送成功,而长字符串就不行呢
- int arr[10]的长度是多少?
- ActiveX 问题,为什么总是报错?!
- 怎样做一个进程内、进程外都能调用的com部件
- 如何用vc.net编控制台(console)程序
- 你用的啥手机?
- 收藏 不显示删除回复显示所有回复显示星级回复显示得分回复 如何避免出现“系统错误”对话框,直接结束程序?
- 我的VC是入门级,对句柄还有些认识不清,请高手赐教!(句柄,指针,资源ID的区别)
- 求一个规范全面的 傅里叶快速变换 FFT C++类
- 如何从CImageList对象中获取已加载的bitmap信息用于别处加载?
ERROR_FILE_NOT_FOUND The specified file was not found.
ERROR_PATH_NOT_FOUND The specified path was not found.
ERROR_BAD_FORMAT The .exe file is invalid (non-Microsoft Win32 .exe or error in .exe image).
SE_ERR_ACCESSDENIED The operating system denied access to the specified file.
SE_ERR_ASSOCINCOMPLETE The file name association is incomplete or invalid.
SE_ERR_DDEBUSY The Dynamic Data Exchange (DDE) transaction could not be completed because other DDE transactions were being processed.
SE_ERR_DDEFAIL The DDE transaction failed.
SE_ERR_DDETIMEOUT The DDE transaction could not be completed because the request timed out.
SE_ERR_DLLNOTFOUND The specified dynamic-link library (DLL) was not found.
SE_ERR_FNF The specified file was not found.
SE_ERR_NOASSOC There is no application associated with the given file name extension. This error will also be returned if you attempt to print a file that is not printable.
SE_ERR_OOM There was not enough memory to complete the operation.
SE_ERR_PNF The specified path was not found.
SE_ERR_SHARE A sharing violation occurred.