没有用到beginthreadex endthreadex两个例程.
在VC中编译程序时显示
Linking...
nafxcw.lib(thrdcore.obj) : error LNK2001: unresolved external symbol __endthreadex
nafxcw.lib(thrdcore.obj) : error LNK2001: unresolved external symbol __beginthreadex ...
解决方案:
在 Project -> Settings -> C/C++ 中
Category 选择 Code Generation
Use run-time library 选择 Multithread DLL
Ref: http://www.cnblogs.com/sunnyjones/archive/2007/11/03/947746.html
阅读(371) | 评论(0) | 转发(0) |