Hey I'm hoping someone can point out the noob mistake I'm making here, I get 4 undeclared identifier errors when compiling (Visual Studio 2013) and cannot figure out where and how to declare them.
source files: Google Code Archive - Long-term storage for Google Code Project Hosting.
Any help is appreciated! Would anyone mind opening the project file and compiling them to see what's up?
Mainwnd.cpp snippets:
error C2065: 'IDR_MAINWND' : undeclared identifier
error C2065: 'ID_FILE_EXIT' : undeclared identifier
error C2065: 'ID_TOOLS_OPTIONS' : undeclared identifier
error C2065: 'ID_HELP_ABOUT' : undeclared identifier
source files: Google Code Archive - Long-term storage for Google Code Project Hosting.
Any help is appreciated! Would anyone mind opening the project file and compiling them to see what's up?
Mainwnd.cpp snippets:
wcx->lpszMenuName = MAKEINTRESOURCE(IDR_MAINWND);
case WM_COMMAND:
{
int id = LOWORD(wParam);
int code = HIWORD(wParam);
switch (id)
{
case IDC_ITEMFILTER:
if (code == EN_CHANGE)
itemList->updateSelected();
break;
case ID_FILE_EXIT:
PostMessage(hWnd, WM_CLOSE, 0, 0);
break;
case ID_TOOLS_OPTIONS:
{
SettingsWnd settings(this);
settings.doModal();
}
break;
case ID_HELP_ABOUT:
{
AboutDlg about(this);
about.doModal();
}
break;
}
}
break;
Last edited: