warning LNK4089: all references to "USER32.dll" discarded by /OPT:REF
来源:互联网 发布:安卓怎样优化最流畅 编辑:程序博客网 时间:2024/05/22 12:33
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中ingore libraries中将该库的lib文件名输入。
b)不予理会,因为它不会影响程序。
更多技术文章请参看施昌权的个人网站: http://www.joyvc.cn
- 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函数
- 用 PHP 构建自定义搜索引擎
- 软件开发人员应该如何发展
- error C2065: 'IDD_SHOWINFODLG' : undeclared identifier
- sql 基础知识要点(二)必会!
- 用 PHP 构建自定义搜索引擎2
- warning LNK4089: all references to "USER32.dll" discarded by /OPT:REF
- 用 PHP 构建自定义搜索引擎3
- error C2664: 'CreateThread' : cannot convert parameter 3 from 'unsigned long (void *)' to 'unsigned long (__stdcall *)(void *)'
- PHP 会话(session 时间设定)使用入门
- 我写的第一个带游标的oracle存储过程
- 第一贴
- 匈牙利命名法
- 启动数据库ORA-12528错误
- 双线路网站解决办法