The meaning and usage of WIN32_LEAN_AND_MEAN
Macro compilation preprocessing header, macro definition # define WIN32_LEAN_AND_MEAN can often appear in stdafx.h files
The specific meaning is to remove the inclusion of some header files when the project contains # contains. An important demonstration.
An example is a duplicate definition of _ WINSOCKAPI_ between winsock2.h and windows.h, if the above macro compilation is defined
It will avoid the error of redefining different links
If there is a problem with duplicate definition of winsock in a project, you can do the following:
Project property "Candlestick +" preprocessor WIN32_LEAN_AND_MEAN