--------------------Configuration: WndProc - Win32 Debug--------------------
Linking...
WndProc.obj : error LNK2001: unresolved external symbol "public: __thiscall CMainWnd::CMainWnd(void)" (??0CMainWnd@@QAE@XZ)
WndProc.obj : error LNK2001: unresolved external symbol "public: void __thiscall CMainWnd::SetInstance(struct HINSTANCE__ *)" (?SetInstance@CMainWnd@@QAEXPAUHINSTANCE__@@@Z)
WndProc.obj : error LNK2001: unresolved external symbol "public: void __thiscall CMainWnd::OnCommand(struct HWND__ *,int,struct HWND__ *,unsigned int)" (?OnCommand@CMainWnd@@QAEXPAUHWND__@@H0I@Z)
WndProc.obj : error LNK2001: unresolved external symbol "public: void __thiscall CMainWnd::OnKeyDown(struct HWND__ *,unsigned int,int,int,unsigned int)" (?OnKeyDown@CMainWnd@@QAEXPAUHWND__@@IHHI@Z)
WndProc.obj : error LNK2001: unresolved external symbol "public: void __thiscall CMainWnd::OnDestroy(struct HWND__ *)" (?OnDestroy@CMainWnd@@QAEXPAUHWND__@@@Z)
WndProc.obj : error LNK2001: unresolved external symbol "public: int __thiscall CMainWnd::OnCreate(struct HWND__ *,struct tagCREATESTRUCTA *)" (?OnCreate@CMainWnd@@QAEHPAUHWND__@@PAUtagCREATESTRUCTA@@@Z)
LIBCD.lib(crt0.obj) : error LNK2001: unresolved external symbol _main
Debug/WndProc.exe : fatal error LNK1120: 7 unresolved externals
执行 link.exe 时出错.
WndProc.exe - 1 error(s), 0 warning(s)
怎样加进libcd.lib这个库啊
|