473,782 Members | 2,423 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

error C3861: 'Navigate2': identifier not found

error C3861: 'Navigate2': identifier not found

why???
Jun 27 '08 #1
5 2081
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::OnInitia lUpdate();

// TODO: ?????????/?????
Navigate2(_T("h ttps://signup.live.com/newuser.aspx?mk t=ZH-CN&ts=4354482&s h=rKPn&ru=http% 3a%2f%2fmail.li ve.com%2f%3fnew user%3dyes&rx=h ttp%3a%2f%2fget .live.com%2fmai l%2foptions&rol lrs=03&lic=1"), navNoHistory|na vNoWriteToCache ,NULL);}chtmlmo dview.cpp(106) : error C3861: 'Navigate2': identifier not foundbut everything is ok in another programwhy???cl ass CCHtmlMod2View : public CHtmlView{..... .....}void CCHtmlMod2View: :OnInitialUpdat e(){ CHtmlView::OnIn itialUpdate(); Navigate2(_T("h ttps://signup.live.com/newuser.aspx?mk t=ZH-CN&ts=4354482&s h=rKPn&ru=http% 3a%2f%2fmail.li ve.com%2f%3fnew user%3dyes&rx=h ttp%3a%2f%2fget .live.com%2fmai l%2foptions&rol lrs=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::OnInitia lUpdate();
}
>
// TODO: ?????????/?????
Navigate2(_T("h ttps://signup.live.com/newuser.aspx?mk t=ZH-CN&ts=4354482&s h=rKPn&ru=http% 3a%2f%2fmail.li ve.com%2f%3fnew user%3dyes&rx=h ttp%3a%2f%2fget .live.com%2fmai l%2foptions&rol lrs=03&lic=1"), navNoHistory|na vNoWriteToCache ,NULL);}chtmlmo dview.cpp(106)
: error C3861: 'Navigate2': identifier not found

but everything is ok in another programwhy???
class CCHtmlMod2View : public CHtmlView{..... .....}
void CCHtmlMod2View: :OnInitialUpdat e()
{ CHtmlView::OnIn itialUpdate();
Navigate2(_T("h ttps://signup.live.com/newuser.aspx?mk t=ZH-CN&ts=4354482&s h=rKPn&ru=http% 3a%2f%2fmail.li ve.com%2f%3fnew user%3dyes&rx=h ttp%3a%2f%2fget .live.com%2fmai l%2foptions&rol lrs=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.n ospam>
??????:15****** *************** *************@m icrosoft.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
5816
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 anymore and so renamed it to be void filterTheImage(). The compiler comes back and gives me this message: c:\...\klt.cpp(718): error C2365: 'filterTheImage' : redefinition; previous definition was a 'formerly unknown identifier'. If I name it...
1
1544
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 errors?I didn't not modify any project options for this project Errors are listed below c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\atlmfc\include\atlalloc.h(336): error C3861: '_alloca': identifier
2
1839
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 errors: c:\thepath\aaa.cpp(890): error C2065: 'm_nBackStyle' : undeclared identifier c:\thepath\aaa.cpp(890): error C3861: 'm_nBackStyle': identifier not found, even with argument-dependent lookup
4
2888
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 end_connection={"$Exit$\n"}; //end connection message char buffer;
7
2486
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 object and then have it display the cost of the ticket. I'm new to using classes like this so I'm a little confused. Here is the errors I get. If anyone could point out where to start or something that I should keep in mind that would be very...
6
5653
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. char temp; std::vector<unsigned charmmessage; while (!done){
9
2958
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
9171
by: Hooyoo | last post by:
I have included windows.h, but it still says 'InitializeCriticalSectionAndSpinCount': identifier not found. Why? any ideas? Thanks.
3
21424
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
10313
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
10081
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9946
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8968
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7494
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6735
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 then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5511
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4044
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 we have to send another system
3
2875
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.