CHtmlView::Navigate2 compile error
- From: "Mystique" <misic@xxxxxxxxxxxx>
- Date: Mon, 4 Jul 2005 11:15:04 +0200
Hi
I have this function in my MFC dialog:
----------------------------------------------------------------------------
-----------------
void CGenTemplatesDlg::OnBtShow()
{
CWebBrowser2 * pBrowse = (CWebBrowser2 *) GetDlgItem(IDC_EXPLORER1);
COleVariant sLoc(_T("http://www.google.com"));
pBrowse->Navigate2(sLoc, NULL, NULL, NULL, NULL);
}
----------------------------------------------------------------------------
-----------------
And on compiling i get this error:
----------------------------------------------------------------------------
-----------------
Linking...
GenTemplatesDlg.obj : error LNK2001: unresolved external symbol "public:
void __thiscall CWebBrowser2::Navigate2(struct tagVARIANT *,struct
tagVARIANT *,struct tagVARIANT *,struct tagVARIANT *,struct tagVARIANT *)"
(?Navigate2@CWebBrowser2@@QAEXPAUt
agVARIANT@@0000@Z)
Debug/GenTemplates.exe : fatal error LNK1120: 1 unresolved externals
Error executing link.exe.
----------------------------------------------------------------------------
-----------------
What is wrong with the code, does anybody know?
Regards,
Mystique
.
- Follow-Ups:
- Re: CHtmlView::Navigate2 compile error
- From: Scot T Brennecke
- Re: CHtmlView::Navigate2 compile error
- Prev by Date: Re: rand()
- Next by Date: Re: CDateTime & miliseconds
- Previous by thread: CFile::GetLength error in processing HUGE file.
- Next by thread: Re: CHtmlView::Navigate2 compile error
- Index(es):
Relevant Pages
|