这个错误是什么意思?

来源:百度知道 编辑:UC知道 时间:2024/04/29 17:19:22
这个错误是什么意思?
winform.obj : error LNK2001: unresolved external symbol "protected: virtual struct AFX_EVENTSINKMAP const * __thiscall CWinformApp::GetEventSinkMap(void)const " (?GetEventSinkMap@CWinformApp@@MBEPBUAFX_EVENTSINKMAP@@XZ)
Debug/winform.exe : fatal error LNK1120: 1 unresolved externals
Error executing link.exe.
如果要解决怎么解决?
我按F4不提示是哪一行或哪个文件错误 我英文很差,看不懂

[Project] --> [Settings] --> 选择"Link"属性页,
在Project Options中将/subsystem:windows改成/subsystem:console

link阶段有错吧,把原来的BUG文件清除一下,或者可能是你是某个大系统中添加新的功能,仿照别的样式,用了另外程序中的文件名,把这些文件名检查一下,看有没有...

主函数改成:
int main()
{
return 0;
}