jack-wang
小王
C++博客
首页
新随笔
联系
聚合
管理
随笔-348 评论-37 文章-0 trackbacks-0
报错:#error : WinSock.h has already been included
加上宏定义
WIN32_LEAN_AND_MEAN
O了!
滚你爹个懒子!
posted on 2023-03-28 11:36
小王
阅读(2360)
评论(0)
编辑
收藏
引用
所属分类:
VC
只有注册用户
登录
后才能发表评论。
【推荐】超50万行VC++源码: 大型组态工控、电力仿真CAD与GIS源码库
相关文章:
报错:#error : WinSock.h has already been included
VS2019报错:fatal error CVT1100: 资源重复。类型: MANIFEST,名称: 2,语言: 0x0409
报错:“_addcarry_u64”: 找不到标识符
编译windows版本的redis报错:"system_error": 不是 "std" 的成员,,,,,,"system_category": 不是 "std" 的成员,,,,,,
修改VC默认的栈空间大小
导入libcurld.lib(或libcurld.lib) 链接报错:无法解析的外部符号 __imp_curl_easy_init,,,
error LNK2019: 无法解析的外部符号 CreateEnvironmentBlock
无法将参数 从“const wchar_t ”转换为“LPWSTR”
Windows服务示例程序
VS无法调试,加了断点也没有作用,程序直接运行至结束
网站导航:
博客园
IT新闻
BlogJava
知识库
博问
管理
<
2023年3月
>
日
一
二
三
四
五
六
26
27
28
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
1
2
3
4
5
6
7
8
常用链接
我的随笔
我的评论
我参与的随笔
留言簿
(16)
给我留言
查看公开留言
查看私人留言
随笔分类
(399)
Android(7)
Boost(8)
C#
c++ 程序设计基础(10)
CMake(2)
Cocos2d-X(1)
CUDA(1)
DB(21)
DirectX(2)
Docker(3)
Dubbo(3)
Erlang(5)
Git(5)
GO(1)
IE(1)
iOS(1)
Java(19)
JPA(2)
LibTorch(1)
linux(85)
MQTT(2)
node.js(3)
OpenGL(2)
Python(11)
Qt(7)
Redis(5)
ROS(4)
SpringBoot(4)
TensorRT(3)
UI(5)
Unreal Engine(1)
VC(44)
VLC(1)
Web开发(12)
Win32(4)
编译(25)
操作系统(3)
调试(2)
多核编程(3)
分布式系统(4)
汇编(1)
脚本(1)
开源项目(3)
其他(16)
嵌入式(1)
软件工程(5)
设计模式(7)
算法与数据结构(1)
网络通讯(17)
游戏服务器端开发(17)
游戏引擎(7)
随笔档案
(348)
2023年10月 (8)
2023年9月 (1)
2023年7月 (2)
2023年5月 (1)
2023年4月 (3)
2023年3月 (2)
2022年12月 (2)
2022年11月 (3)
2022年10月 (3)
2022年9月 (5)
2022年8月 (2)
2022年7月 (10)
2022年6月 (5)
2022年5月 (7)
2022年4月 (4)
2022年3月 (1)
2022年2月 (11)
2022年1月 (6)
2021年12月 (7)
2021年10月 (3)
2021年6月 (2)
2021年4月 (1)
2021年3月 (3)
2021年2月 (1)
2021年1月 (3)
2020年12月 (2)
2020年11月 (1)
2020年10月 (2)
2020年9月 (2)
2020年7月 (4)
2020年6月 (2)
2020年4月 (3)
2020年3月 (2)
2020年2月 (2)
2020年1月 (3)
2019年11月 (2)
2019年10月 (5)
2019年9月 (1)
2019年8月 (3)
2019年7月 (1)
2019年6月 (6)
2019年5月 (4)
2019年4月 (2)
2019年3月 (2)
2019年2月 (1)
2019年1月 (4)
2018年1月 (2)
2017年12月 (8)
2017年11月 (3)
2017年9月 (4)
2017年8月 (1)
2017年3月 (1)
2017年2月 (2)
2017年1月 (5)
2016年12月 (1)
2016年5月 (1)
2016年4月 (1)
2016年1月 (1)
2015年8月 (3)
2015年6月 (1)
2015年5月 (1)
2015年4月 (1)
2014年7月 (2)
2014年6月 (2)
2014年5月 (1)
2014年3月 (1)
2014年2月 (2)
2013年11月 (3)
2013年9月 (4)
2013年8月 (1)
2013年6月 (1)
2013年5月 (1)
2013年4月 (3)
2013年3月 (5)
2013年2月 (1)
2013年1月 (2)
2012年11月 (1)
2012年10月 (3)
2012年9月 (1)
2012年7月 (3)
2012年6月 (3)
2012年5月 (1)
2012年3月 (5)
2012年2月 (2)
2012年1月 (1)
2011年12月 (3)
2011年9月 (1)
2011年8月 (2)
2011年6月 (1)
2011年4月 (1)
2011年3月 (2)
2011年2月 (2)
2010年12月 (1)
2010年11月 (7)
2010年10月 (7)
2010年9月 (2)
2010年8月 (2)
2010年7月 (3)
2010年6月 (2)
2010年4月 (4)
2010年3月 (6)
2010年2月 (12)
2010年1月 (22)
2009年11月 (6)
2009年8月 (5)
2009年6月 (2)
2009年2月 (4)
2009年1月 (15)
2008年10月 (1)
Linux
chinaunix
游戏开发
金庆
云风
综合
Intel
λ-calculus
周伟明
最新随笔
1. 使用VS Code ssh远程连接openEuler主机,始终连接不上
2. 重编openEuler22内核
3. 编译gcc10报错:error: C++ preprocessor "/lib/cpp" fails sanity check
4. openEuler中更换gcc版本
5. 编译gcc7报错:gcc invalid application of ‘sizeof’ to incomplete type ‘__sanitizer::ustat’ ,,,,,,unsigned struct_ustat_sz = sizeof(struct ustat);
6. 编译gcc7报错:fatal error: sys/ustat.h: No such file or directory
7. 编译openEuler22内核报错:Failed to generate BTF for vmlinux
8. 编译报错:pushd: not found
9. Windows11下面使用VS2022编译Unreal5 5.2.1版本报错:MSB3073 命令“..\..\Build\BatchFiles\Rebuild.bat InterchangeWorker Win64 Development -WaitMutex -FromMsBuild”
10. Windows中安装QT5.12报错:,,,安装perl失败,,,
搜索
最新随笔
1. 使用VS Code ssh远程连接openEuler主机,始终连接不上
2. 重编openEuler22内核
3. 编译gcc10报错:error: C++ preprocessor "/lib/cpp" fails sanity check
4. openEuler中更换gcc版本
5. 编译gcc7报错:gcc invalid application of ‘sizeof’ to incomplete type ‘__sanitizer::ustat’ ,,,,,,unsigned struct_ustat_sz = sizeof(struct ustat);
6. 编译gcc7报错:fatal error: sys/ustat.h: No such file or directory
7. 编译openEuler22内核报错:Failed to generate BTF for vmlinux
8. 编译报错:pushd: not found
9. Windows11下面使用VS2022编译Unreal5 5.2.1版本报错:MSB3073 命令“..\..\Build\BatchFiles\Rebuild.bat InterchangeWorker Win64 Development -WaitMutex -FromMsBuild”
10. Windows中安装QT5.12报错:,,,安装perl失败,,,
最新评论
1. re: DirectUI Lib XML编写说明
这个不错,很有用。
--dictbox
2. re: MFC:为CListCtrl添加背景图片[未登录]
没用
--123
3. re: DirectUI Lib XML编写说明[未登录]
很好,对于我这样的初学者很用帮助,谢谢楼主
--king
4. re: WindowXP下PHP5开发环境配置
谢谢楼主分享,已经按楼主的方法配置成功
--bbreay
5. re: error C2220: 警告被视为错误 - 没有生成“object”文件
你好,我用的是vs2012,没有你说的“选择该cpp”,如:
--coco
阅读排行榜
1. protobuf使用方法(9311)
2. 1>c:\program files\microsoft visual studio 9.0\vc\atlmfc\include\afx.h(24) : fatal error C1189: #error : Building MFC application with /MD[d] (CRT dll version) requires MFC shared dll version. Please #define _AFXDLL or do not use /MD[d](8511)
3. 执行pip install报错: WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv(7664)
4. 编译cmake报错:Cannot find a C++ compiler that supports both C++11 and the specified C++ flags.(6624)
5. (TCP-over-UDP library)基于UDP协议之上实现通用、可靠、高效的TCP协议(6127)
评论排行榜
1. Ubuntu9.10 VI下方向键变成ABCD的解决办法(3)
2. 公司散伙啦。杯具!反思!(3)
3. 网游服务器通信架构的设计(3)
4. 服务器宕机(2)
5. 没有找到MSVCR90.dll,因此这个应用程序未能启动,重新安装应用程序可能会修复此问题(2)