
错误管理
chuanyu
个人开发者
展开
-
'XXX' was not declared in this scope
1. ‘close’ was not declared in this scope没有包含头文件 unistd.h 造成的。加上: #include 2. 'inet_pton' was not declared in this scope加上: #include #include #include原创 2015-06-03 11:44:59 · 3379 阅读 · 0 评论 -
VS2010编译错误 LNK1179: 无效或损坏的文件: 重复的 COMDAT "_IID_IDispatchEx" .
找到此行代码#import "Flash.ocx" named_guids将其改为#import "Flash.ocx" named_guids, exclude("IFlashObjectInterface"), exclude("IDispatchEx")亲自实验通过,ok!原创 2015-06-03 15:31:47 · 2961 阅读 · 0 评论 -
MSSQLSERVER2005服务无法启动的解决方案
1、IP地址配置不正确: 打开 Microsoft SQL Server 2005配置工具下的SQL Server Configuration Manager,选择MSSQLSERVER协议, 然后双击右边窗口的TCP/IP,在弹出窗口中检查IP配置。 2、可能是因为VIA协议启用造成的。解决方法如下: 1)打开SQL Server 2008中的配置工具SQL Ser转载 2015-05-25 14:08:32 · 4128 阅读 · 0 评论 -
lnk1123转换到coff期间失败
终极解决方案:VS2010在经历一些更新后,建立Win32 Console Project时会出“error LNK1123” 错误,解决方案为将 项目|项目属性|配置属性|清单工具|输入和输出|嵌入清单 “是”改为“否”即可,但是没新建一个项目都要这样设置一次。在建立VS2010 Win32 Project项目时,按照上面解决方案依然发生了“error LNK1123”错误,经过上网查资料,原创 2015-05-25 12:15:00 · 432 阅读 · 0 评论 -
LNK1179: 无效或损坏的文件: 重复的 COMDAT "_IID_IDispatchEx"
fatal error LNK1179: invalid or corrupt file: duplicate comdat "XXX" 解决方法,找到(ocx和dll都是类似的)#import "Flash.ocx" named_guids改为#import "Flash.ocx" named_guids, exclude("IFlashObject转载 2015-12-31 09:43:58 · 2727 阅读 · 0 评论 -
怎样解决VS2013模块对于SAFESEH 映像是不安全的
将 /SAFESEH:NO 复制到“项目属性”的“链接器”中 的“命令行”下面的“其它选项(D)”框中,然后点击应用转:http://jingyan.baidu.com/article/47a29f24334312c01423992e.html转载 2015-12-31 09:51:05 · 2965 阅读 · 0 评论 -
error
windows错误:error C2065: “BYTE”: 未声明的标识符加上#include原创 2016-11-09 11:03:30 · 513 阅读 · 0 评论