原来是一个控制台程序,我想修改这个程序,在其中要使用CString和CFile类等,但现在编译的时候出现链接错误, unresolved external symbol "public: virtual unsigned int __thiscall CFile::Read(void *,unsigned int)" (?Read@CFile@@UAEIPAXI@Z)
在刚开始生成控制台程序的时候,在向导中选择MFC支持!
project->seting->c/c++ in "Category" select "Code Generation" in "Uer run_time library" select a run-time libray of Multithreaded such as "Multithreaded DLL" or"Debug Multithreaded DLL"
unresolved external symbol "public: virtual unsigned int __thiscall CFile::Read(void *,unsigned int)" (?Read@CFile@@UAEIPAXI@Z)
in "Category" select "Code Generation"
in "Uer run_time library" select a run-time libray of Multithreaded such as "Multithreaded DLL" or"Debug Multithreaded DLL"
看看
或STL的string