cookey
asked on
Compile error
When I compiling a program, VC5 tells me some error like this:
-------------------
Compiling...
Iacc.cpp
F:\abc.h(51) : error C2065: 'IWebBrowser2' : undeclared identifier
--------------------
I think some liberary are not include in my project, I want to know 'IWebBrowser2' declare in which head file or how can I Import IE controls ActiveX to my project?
I am using Visual C++ 5.0
-------------------
Compiling...
Iacc.cpp
F:\abc.h(51) : error C2065: 'IWebBrowser2' : undeclared identifier
--------------------
I think some liberary are not include in my project, I want to know 'IWebBrowser2' declare in which head file or how can I Import IE controls ActiveX to my project?
I am using Visual C++ 5.0
you need to include the file that defines the type IWebBrowser2
The help files say to include exdisp.h to get it.
The help files say to include exdisp.h to get it.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
You are probably right that you just haven't included a certain library. I'm not familar with that control, I assume it's a microsoft control?
According to the online help, you need to include the file Exdisp.h.