Hello!
I created a project (using VC++ 5.0), named "TestWindow" - SDI (Simple document interface).
And I added one more project ("TestDialog" - CDialog class) to the same workspace.
So I got paths like this: Projects\TestWindow and Projects\TestWindow\TestDialog
I would like to call dialog window of TestDialog project from the menu of Window of TestWindow project. So I have:
MainFrm.cpp
...
#include "TestDialog\TestDialog.h"
#include "TestDialog\TestDialogDlg.h"
...
void CMainFrame::OnDialogStartdialog() // Menu selection handler
{
CTestDialogDlg testDlg;
testDlg.DoModal();
}
And I have this link error:
error LNK2001: unresolved external symbol "public: __thiscall CTestDialogDlg::CTestDialogDlg(class CWnd *)" (??0CTestDialogDlg@@QAE@PAVCWnd@@@Z)
Debug/TestWindow.exe : fatal error LNK1120: 1 unresolved externals
Plz help! =)
I created a project (using VC++ 5.0), named "TestWindow" - SDI (Simple document interface).
And I added one more project ("TestDialog" - CDialog class) to the same workspace.
So I got paths like this: Projects\TestWindow and Projects\TestWindow\TestDialog
I would like to call dialog window of TestDialog project from the menu of Window of TestWindow project. So I have:
MainFrm.cpp
...
#include "TestDialog\TestDialog.h"
#include "TestDialog\TestDialogDlg.h"
...
void CMainFrame::OnDialogStartdialog() // Menu selection handler
{
CTestDialogDlg testDlg;
testDlg.DoModal();
}
And I have this link error:
error LNK2001: unresolved external symbol "public: __thiscall CTestDialogDlg::CTestDialogDlg(class CWnd *)" (??0CTestDialogDlg@@QAE@PAVCWnd@@@Z)
Debug/TestWindow.exe : fatal error LNK1120: 1 unresolved externals
Plz help! =)