我编一个socket类,编译通过,但无法通过Link。
error LNK2001: unresolved external symbol __endthreadex
error LNK2001: unresolved external symbol __beginthreadex
Debug/CNet.exe : fatal error LNK1120: 2 unresolved externals
这是缺少什么文件?请各位指点
error LNK2001: unresolved external symbol __endthreadex
error LNK2001: unresolved external symbol __beginthreadex
Debug/CNet.exe : fatal error LNK1120: 2 unresolved externals
这是缺少什么文件?请各位指点
解决方案 »
- MFC中某个类有个CString类型数组成员变量m_szData[120],程序退出时总是中断在的void Release() throw()?
- MFC编译问题
- 对话框在有其他窗口在其上移动的情况下,背景图片刮花
- delete []m_pRawBuffer; 着是什么意思?
- 想找个技术报告学习格式
- 如何使CListctrl可以选中一行????
- 在 Turbo C++ 中的代码, 如何才能直接在 VC++ 中运行呢?
- 请问如何编写c++类的dll的.def文件,如何编写能被vb调用的c++类dll
- 有做过photoshop滤镜的吗?
- 钩子问题,高手留步,很急很急,快来帮忙呀,付全部源代码!!!!!!!!!!!!!!!!!!!!!!
- 为什么叫不出提示框??
- 重新设置了Dialog上的静态文本的显示文字,但是不该变...
/* illustrates multiple threads using functions:
*
* _beginthread _endthread
*
*
* This program requires the multithreaded library. For example,
* compile with the following command line:
* CL /MT /D "_X86_" BEGTHRD.C
*
* If you are using the Visual C++ development environment, select the
* Multi-Threaded runtime library in the compiler Project Options dialog
* box.
*
*/
首先你的应该这样设置:
Project--->Settings----->C ++ ------>Category:Code Generation---->using runtime library:debug multithread其次你应该建的是 win32 console application应用程序才
project->Settings...
link tab
Project Options
/subsystem:windows change to /subsystem:console