已经编译好的libcurl,含头文件和libcurl.lib,libcurld.lib
--libcurl用于release版本,libcurld.lib用于debug版本
如下宏放在 stdafx.h里即可;
#ifdef _DEBUG
#pragma comment(lib,"libcurld.lib")
#else
#pragma comment(lib,"libcurl.lib")
#endif
#pragma comment ( lib, "ws2_32.lib" )
#pragma comment ( lib, "winmm.lib" )
#pragma comment ( lib, "wldap32.lib" )
#pragma comment(lib, "Advapi32.lib")
1