Code Comments

Programming Forum and web based access to our favorite programming groups.
For Programmers: Free Programming Magazines | New: Database administration forum
Registration is free! Edit your profileCalendarFind other membersFrequently Asked QuestionsSearch -> 
Post New Thread











Thread
Author

error C3861: 'Navigate2': identifier not found
error C3861: 'Navigate2': identifier not found

why???



Report this thread to moderator Post Follow-up to this message
Old Post
zhang
04-14-08 09:48 AM


Re: error C3861: 'Navigate2': identifier not found
Hi zhang,

> error C3861: 'Navigate2': identifier not found

Because you called it on a std::string instance?

Without your code nobody can help you.

--
SvenC

Report this thread to moderator Post Follow-up to this message
Old Post
SvenC
04-14-08 02:01 PM


Re: error C3861: 'Navigate2': identifier not found
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=r
KPn&ru=http%3a%2f%2fmail.live.com%2f%3fnewuser%3dyes&rx=http%3a%2f%2fget.liv
e.com%2fmail%2foptions&rollrs=03&lic=1"),navNoHistory|navNoWriteToCache,NULL
);}chtmlmodview.cpp(106) :
error C3861: 'Navigate2': identifier not foundbut everything is ok in anothe
r programwhy???class CCHtmlMod2View : public CHtmlView{..........}void CCHtm
lMod2View::OnInitialUpdate(){ CHtmlView::OnInitialUpdate(); Navigate2(_T("ht
tps://signup.live.com/newu
ser.aspx?mkt=ZH-CN&ts=4354482&sh=rKPn&ru=http%3a%2f%2fmail.live.com%2f%3fnew
user%3dyes&rx=http%3a%2f%2fget.live.com%2fmail%2foptions&rollrs=03&lic=1"),n
avNoHistory|navNoWriteToCache,NULL);}


Report this thread to moderator Post Follow-up to this message
Old Post
zhang
04-14-08 02:01 PM


Re: error C3861: 'Navigate2': identifier not found

> 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%2
foptions&rollrs=03&lic=1" ),navNoHistory|navNoWriteToCache,NULL);}
chtmlmodview.cpp(10
6)

> : error C3861: 'Navigate2': identifier not found




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=r
KPn&ru=http%3a%2f%2fmail.live.com%2f%3fnewuser%3dyes&rx=http%3a%2f%2fget.liv
e.com%2fmail%2foptions&rollrs=03&lic=1"),navNoHistory|navNoWriteToCache,NULL
);
}
>
>



Report this thread to moderator Post Follow-up to this message
Old Post
zhang
04-14-08 02:01 PM


Re: error C3861: 'Navigate2': identifier not found
Hi zhang

> why I cannot inherit from CView??????
>...
> but everything is ok in another programwhy???
> class CCHtmlMod2View : public CHtmlView{..........}

Because CView has no Navigate2 member while
CHtmlView has that member.

--
SvenC

Report this thread to moderator Post Follow-up to this message
Old Post
SvenC
04-14-08 02:01 PM


Re: error C3861: 'Navigate2': identifier not found
Thank you very much


"SvenC" <SvenC@nospam.nospam>
??????:1586E6E2-F3DE-4C28-A25D-B4073981D1F4@microsoft.com...
> Hi zhang
> 
>
> Because CView has no Navigate2 member while
> CHtmlView has that member.
>
> --
> SvenC
>



Report this thread to moderator Post Follow-up to this message
Old Post
zhang
04-14-08 02:01 PM


Sponsored Links




Last Thread Next Thread Next
Search this forum -> 
Post New Thread

VC++ archive

Show a Printable Version Send to friend Email This Page to Someone! subscribe to this thread Receive updates to this thread
Computer Consultants
Programming Jobs
Visual Basic Controls
SQL Server Programming
Webservices
Java Security
Visual Studio
C# Programming
Visual J++
Software engineering
Open source Software
Perl Programming
PHP Programming
ASP Programming
ASP .NET Programming
Visual Basic Programming
Windows Scripting Host
Java Programming
Java Help
Java Beans
VBScript
Cobol
MAC Applications
Unix Programming
Forum Jump:
All times are GMT. The time now is 09:45 PM.

 
Free MCSE Braindumps | Real Estate Topics

Programming forum archive

Copyrights CodeComments.com 2004 - 2006

Powered by vBulletin Copyright 2000-2006 Jelsoft Enterprises Limited.