I'm kinda new to programming in general, so please excuse me if it's something obvious. I tried searching but didn't find anything of help to me.
Now for the actual problem:
For a school-project we are supposed to create a project in mfc with multiple dialogs and since it's a group-project I would like to know how to add other projects to an existing one.
What I already did:
#include "2ndProjectDlg.h" //in 1stProjectDlg.h
2ndProjectDlg second; //in 1stProjectDlg.h
void C1stProjectDlg::OnBnClickedButton1() //in 1stProjectDlg.cpp
{
second.DoModal();
}
The error message I got:
unresolved external symbol "public: __thiscall C2ndProjectDlg::C2ndProjectDlg(class CWnd *)" (??0C2ndProjectDlg@@QAE@PAVCWnd@@@Z) referenced in function "public: __thiscall C1stProjectDlg::C1stProjectDlg(class CWnd *)" (??0C1stProjectDlg@@QAE@PAVCWnd@@@Z)
Would really appreciate a step by step guide or some reference material.