I hate these linker errors, any idea how I can get rid of them?
Error 2 fatal error LNK1120: 1 unresolved externals C:\Users\**********\Documents\Visual Studio 2005\Projects\Machine2\Debug\Machine2.exe
and
Error 1 error LNK2001: unresolved external symbol "public: void __thiscall SecondDlg::OnBnClickedButton4(void)" (?OnBnClickedButton4@SecondDlg@@QAEXXZ) SecondDlg.obj
I deleted ON_BN_CLICKED(IDC_BUTTON4, &SecondDlg::OnBnClickedButton4)
and all other instances of IDC_BUTTON4. My compiler was trying to compile something that wasn't there anymore.