error C3861: 'Navigate2': identifier not found

error C3861: 'Navigate2': identifier not found

Post by zhan » Tue, 15 Apr 2008 17:54:56


error C3861: 'Navigate2': identifier not found

why???
 
 
 

error C3861: 'Navigate2': identifier not found

Post by zhan » Tue, 15 Apr 2008 20:26:46

why I cannot inherit from CView??????
class CCHtmlModView : public CView
{
.............
}
void CCHtmlModView::OnInitialUpdate()
{
CView::OnInitialUpdate();

// TODO: ?????????/?????
Navigate2(_T("https://signup.live.com/newuser.aspx?mkt=ZH-CN&ts=4354482&sh=rKPn&ru=http%3a%2f%2fmail.live.com%2f%3fnewuser%3dyes&rx=http%3a%2f%2fget.live.com%2fmail%2foptions&rollrs=03&lic=1"),navNoHistory|navNoWriteToCache,NULL);}chtmlmodview.cpp(106) : error C3861: 'Navigate2': identifier not foundbut everything is ok in another programwhy???class CCHtmlMod2View : public CHtmlView{..........}void CCHtmlMod2View::OnInitialUpdate(){ CHtmlView::OnInitialUpdate(); Navigate2(_T("https://signup.live.com/newuser.aspx?mkt=ZH-CN&ts=4354482&sh=rKPn&ru=http%3a%2f%2fmail.live.com%2f%3fnewuser%3dyes&rx=http%3a%2f%2fget.live.com%2fmail%2foptions&rollrs=03&lic=1"),navNoHistory|navNoWriteToCache,NULL);}

 
 
 

error C3861: 'Navigate2': identifier not found

Post by zhan » Tue, 15 Apr 2008 20:36:32


}




but everything is ok in another programwhy???
class CCHtmlMod2View : public CHtmlView{..........}
void CCHtmlMod2View::OnInitialUpdate()
{ CHtmlView::OnInitialUpdate();
Navigate2(_T("https://signup.live.com/newuser.aspx?mkt=ZH-CN&ts=4354482&sh=rKPn&ru=http%3a%2f%2fmail.live.com%2f%3fnewuser%3dyes&rx=http%3a%2f%2fget.live.com%2fmail%2foptions&rollrs=03&lic=1"),navNoHistory|navNoWriteToCache,NULL);
}
 
 
 

error C3861: 'Navigate2': identifier not found

Post by zhan » Tue, 15 Apr 2008 21:33:17

Thank you very much


"SvenC" < XXXX@XXXXX.COM >
??????: XXXX@XXXXX.COM ...