WIN32_LEAN_AND_MEAN
2011-09-26 16:01
423 查看
The Winsock2.h header file internally includes core elements from the
Windows.h header file, so there is not usually an #include line for the
Windows.h header file in Winsock applications. If an #include line is needed for the
Windows.h header file, this should be preceded with the #define WIN32_LEAN_AND_MEAN macro. For historical reasons, the
Windows.h header defaults to including the Winsock.h header file for Windows Sockets 1.1. The declarations in the
Winsock.h header file will conflict with the declarations in the Winsock2.h header file required by Windows Sockets 2.0. The WIN32_LEAN_AND_MEAN macro prevents the
Winsock.h from being included by the Windows.h header.
Windows.h header file, so there is not usually an #include line for the
Windows.h header file in Winsock applications. If an #include line is needed for the
Windows.h header file, this should be preceded with the #define WIN32_LEAN_AND_MEAN macro. For historical reasons, the
Windows.h header defaults to including the Winsock.h header file for Windows Sockets 1.1. The declarations in the
Winsock.h header file will conflict with the declarations in the Winsock2.h header file required by Windows Sockets 2.0. The WIN32_LEAN_AND_MEAN macro prevents the
Winsock.h from being included by the Windows.h header.
相关文章推荐
- 宏WIN32_LEAN_AND_MEAN
- WIN32_LEAN_AND_MEAN
- 如何使用 VC_EXTRALEAN 和 WIN32_LEAN_AND_MEAN 来增强 Visual C++ 中的生成过程
- #define WIN32_LEAN_AND_MEAN 的作用
- WIN32_LEAN_AND_MEAN
- WIN32_LEAN_AND_MEAN 的作用
- #define WIN32_LEAN_AND_MEAN
- VC_EXTRALEAN 和 WIN32_LEAN_AND_MEAN
- #define WIN32_LEAN_AND_MEAN
- 关于 WIN32_LEAN_AND_MEAN
- #define WIN32_LEAN_AND_MEAN 的作用
- #define WIN32_LEAN_AND_MEAN 的作用
- [转]#define WIN32_LEAN_AND_MEAN 的作用
- WIN32_LEAN_AND_MEAN 的作用
- #define WIN32_LEAN_AND_MEAN 的作用
- 关于 WIN32_LEAN_AND_MEAN
- Windows Socket 编程, WIN32_LEAN_AND_MEAN 的用法
- WIN32_LEAN_AND_MEAN 含义以及用法
- Winsock2.h、Windows.h和WIN32_LEAN_AND_MEAN
- WIN32_LEAN_AND_MEAN 作用