warning LNK4089: all references to "USER32.dll" discarded by /OPT:REF
来源:互联网 发布:淘宝网店转让麻烦吗 编辑:程序博客网 时间:2024/05/22 16:05
[from:http://www.diybl.com/course/4_webprogram/asp.net/netjs/200822/98455.html]
warning LNK4089: all references to "USER32.dll" discarded by /OPT:REF
开发平台:VC
出现错误:warning LNK4089: all references to "USER32.dll" discarded by /OPT:REF。
错误原因:由于打开了优化选项,而且程序中包含或加入了USER32.dll,但是却没有调用该库中的任何函数或方法, 所以系统给个通知。
解决办法:a)这个问题一般出现在release版中,当release版编译时会对代码进行优化,将程序中实际上并没用到的,而在工程中链接了的库放弃而不编译到工程中去。可在工程设置中的Link中的input中ingorelibraries中将该库的lib文件名输入。 b)不予理会,因为它不会影响程序。
文章出处:http://www.diybl.com/course/4_webprogram/asp.net/netjs/200822/98455.html
- warning LNK4089: all references to "USER32.dll" /"ole32.dll" discarded by /OPT:REF
- warning LNK4089: all references to "USER32.dll" discarded by /OPT:REF
- warning LNK4089: all references to "USER32.dll" discarded by /OPT:REF
- warning LNK4089: all references to "USER32.dll" discarded by /OPT:REF
- arning LNK4089: all references to "USER32.dll" discarded by /OPT:REF
- warning LNK4089: all references to "SHELL32.dll" discarded by /OPT:REF
- 关于VC++ Release编译之后warning LNK4089: all references to "SHELL32.dll" discarded by /OPT:REF
- LINK : warning LNK4089: all references to “SHELL32.dll” discarded by /OPT:REF
- warning LNK4089: all references to "SHELL32.dll" discarded by /OPT:REF
- 关于VC++ Release编译之后warning LNK4089: all references to "SHELL32.dll" discarded by /OPT:REF
- all references to"*.dll" discarded by /OPT:REF
- debug 通过,Release运行出错。all references to "ADVAPI32.dll" discarded by /OPT:REF
- discarded by /OPT:REF (VC调试警告)
- warning LNK4089
- LINK : warning LNK4089
- VC OPT:REF
- 20、Warning: there were * unresolved references to classes or interfaces.
- USER32.DLL SetLayeredWindowAttributes函数
- jsp生成静态页面的方法
- C#后台调用前台javascript的五种方法
- 黑客挂马的各种方法
- 理解 Symbian C++ 的 NewL ConstructL NewLC ELeave
- patch用法
- warning LNK4089: all references to "USER32.dll" discarded by /OPT:REF
- 彻底去除资源管理器中右键菜单“阿里旺旺发送此文件”选项
- 系统中出现许多wmiprvse.exe进程的处理方法
- 1 linux下安装mysql
- echo
- 在TeeChart中使用中文的方法
- ls输出结果的逐条解释
- 正则表达式
- 简单实用的Code Review工具