执行 link.exe 时出错,该怎么处理

执行 link.exe 时出错
刚学不久,我想尝试这写个程序,从HTTP上抓取一些内容。我创建了一个WIN32程序,采用CInternetSession中的API函数来实现。但是在执行连接的时候出错了。
--------------------Configuration: GetInfor - Win32 Debug--------------------
Compiling...
GetInfor.cpp
Linking...
nafxcwd.lib(thrdcore.obj) : error LNK2001: unresolved external symbol __endthreadex
nafxcwd.lib(thrdcore.obj) : error LNK2001: unresolved external symbol __beginthreadex
Debug/GetInfor.exe : fatal error LNK1120: 2 unresolved externals
执行 link.exe 时出错.
我检查了下入口函数没有错。是不是在使用CInternetSession的时候还需要设置什么东西呢?求大神指教。

------解决方案--------------------
配置问题,工程--属性--c/c++--代码生成--运行时库。