LNK2001 in “How can I make a WNDPROC or DLGPROC a member of my C++ class?”
问题 VS10: MCBS: Hi there, In the light of this discussion encountered a problem attempting a Hello World implementation of Raymond Chen's method in How can I make a WNDPROC or DLGPROC a member of my C++ class? using Pudeyev's code for "Hello World": error LNK2001: unresolved external symbol "private: long __thiscall BaseWnd::WndProc(struct HWND__ *,unsigned int,unsigned int,long)" (?WndProc@BaseWnd@@AAEJPAUHWND__@@IIJ@Z) The code is as follows: // ...Written by Oleg Pudeyev, (c) 2003 #include