Linking...
BFile.obj : error LNK2001: unresolved external symbol "public: virtual bool __thiscall CBFile::OpenFile(void)" (?OpenFile@CBFile@@UAE_NXZ)
Debug/DSP.exe : fatal error LNK1120: 1 unresolved externals
Error executing link.exe.
Creating browse info file...
BFile.obj : error LNK2001: unresolved external symbol "public: virtual bool __thiscall CBFile::OpenFile(void)" (?OpenFile@CBFile@@UAE_NXZ)
Debug/DSP.exe : fatal error LNK1120: 1 unresolved externals
Error executing link.exe.
Creating browse info file...
public: virtual bool CBFile::OpenFile(void)
不要说什么"没动它"的话,一定是"动到了什么地方",计算机是不会出错的...
一般是可以的,如果你真的没有动过的话
CBFile::OpenFile(void)
这个函数吧!看看定义的与使用的时候是否一致?头文件的定义与函数的定义是否一致?
2.检查所有的.h.cpp文件有没有在工程文件里面,没有就project->addfiles
3.rebuild all.:)