473,472 Members | 1,736 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

error C3861: 'Navigate2': identifier not found

error C3861: 'Navigate2': identifier not found

why???
Jun 27 '08 #1
5 2065
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
Jun 27 '08 #2
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.co m%2f%3fnewuser%3dyes&rx=http%3a%2f%2fget.live.com% 2fmail%2foptions&rollrs=03&lic=1"),navNoHistory|na vNoWriteToCache,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.co m%2f%3fnewuser%3dyes&rx=http%3a%2f%2fget.live.com% 2fmail%2foptions&rollrs=03&lic=1"),navNoHistory|na vNoWriteToCache,NULL);}

Jun 27 '08 #3
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.co m%2f%3fnewuser%3dyes&rx=http%3a%2f%2fget.live.com% 2fmail%2foptions&rollrs=03&lic=1"),navNoHistory|na vNoWriteToCache,NULL);}chtmlmodview.cpp(106)
: 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=rKPn&ru=http%3a%2f%2fmail.live.co m%2f%3fnewuser%3dyes&rx=http%3a%2f%2fget.live.com% 2fmail%2foptions&rollrs=03&lic=1"),navNoHistory|na vNoWriteToCache,NULL);
}
>

Jun 27 '08 #4
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
Jun 27 '08 #5
Thank you very much
"SvenC" <Sv***@nospam.nospam>
??????:15**********************************@micros oft.com...
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

Jun 27 '08 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: bmassey | last post by:
Hi, Was wondering if anyone could help me with this odd error: Am working in VS.Net Framework 1.1 C++. I had a function defined as void colorizeImage(). I decided I didn't need that function...
1
by: KK | last post by:
Dear All I'm having an application developed in VC++6.0.Now i'm trying to complie the same with Visual Studio.Net 2003,but getting some strange errors.Can anybody help to get out of these...
2
by: VicVic | last post by:
Hello, I have an old project, built with VC++. Now need to be compiled in Visual Studio .Net 2003. The project is going to build a DLL. When i try to compile the project, i got the following...
4
by: Shlomy Shivek | last post by:
Hi, I have this thread function: //handle one socket connection thread DWORD WINAPI SocketHandler(LPVOID lpvParam) { int socketNumber=*(DWORD*)lpvParam ; //the socket number int n; char...
7
by: GRoll35 | last post by:
I have 3 files here - Header/Implementation/Driver All it has to do is send the user's input (age)..to the class and the class will figure out the price of the ticket. I'm suppose to create the...
6
by: Bobrick | last post by:
Hi. Thanks to everyone who replied to my last post, it turns out it wasn't the line where I was trying to treat the variable in question as an array which was the problem, but the line above. ...
9
by: i | last post by:
#include<stdio.h> #include<conio.h> #include<process.h> #include<string.h> char ch; int n,m; void main(); char check(int,int,char); void cash(int,int,char); void debit_card(int,int,char);
2
by: Hooyoo | last post by:
I have included windows.h, but it still says 'InitializeCriticalSectionAndSpinCount': identifier not found. Why? any ideas? Thanks.
3
by: jumpman17 | last post by:
OK, I'm getting just this one error. error C3861: 'upload_data': identifier not found I have that function in the header file, why is it not seeing it? I can post code if needed.
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
0
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.