Missing linkage of resource
- From: dan.raviv@xxxxxxxxx (Danra)
- Date: 9 Apr 2005 09:02:42 -0700
Hi,
I'm building an application based on doc/view architecture, where my
view, of class CMyView, is derived from CFormView (That is the view
itself is sort of a dialog).
I created a new dialog resource, IDD_MY_DIALOG for which the matching
class is CMyDialog. Now when a button is pushed in the main view I
want to construct a CMyDialog object and DoModal it. However, he
compiler complains CMyDialog is an unresolved symbol in CMyView.obj:
MyView.obj : error LNK2001: unresolved external symbol "public:
__thiscall CMyDialog::CMyDialog(class CWnd *)" ...
So obviously MyDialog.cpp isn't linked to MyView.obj...
Am I doing something wrong? If so, what? If not, how do I fix the
problem?
Thank you very much.
.
- Follow-Ups:
- Re: Missing linkage of resource
- From: Joseph M . Newcomer
- Re: Missing linkage of resource
- From: Johan Rosengren
- Re: Missing linkage of resource
- Prev by Date: Re: XP Style button using MFC 4.2
- Next by Date: Re: SendMessage problem
- Previous by thread: SendMessage problem
- Next by thread: Re: Missing linkage of resource
- Index(es):