[求助]运行时出现错误不知道怎么改,高手都睡了吗?
详见附件原码
错误信息:
--------------------Configuration: skyblue_LLKDlg - Win32 Debug--------------------
Linking...
nafxcwd.lib(thrdcore.obj) : error LNK2001: unresolved external symbol __endthreadex
nafxcwd.lib(thrdcore.obj) : error LNK2001: unresolved external symbol __beginthreadex
libcd.lib(crt0.obj) : error LNK2001: unresolved external symbol _main
Debug/skyblue_LLKDlg.exe : fatal error LNK1120: 3 unresolved externals
Error executing link.exe.
skyblue_LLKDlg.exe - 4 error(s), 0 warning(s)
执行以下:
Project->Settings, 选择"C/C++"属性页,在Category中选择Code Generation,再在Use run-time library中选择Debug Multithreaded或者multithreaded
--------------------Configuration: skyblue_LLKDlg - Win32 Debug--------------------
Compiling...
skyblue_LLKDlg.cpp
Linking...
libcmtd.lib(crt0.obj) : error LNK2001: unresolved external symbol _main
Debug/skyblue_LLKDlg.exe : fatal error LNK1120: 1 unresolved externals
Error executing link.exe.
skyblue_LLKDlg.exe - 2 error(s), 0 warning(s)
[此贴子已经被作者于2007-7-12 18:19:24编辑过]