?
Solved

error LNK2001: unresolved external symbol _IID_IWebBrowserApp

Posted on 2000-02-29
3
Medium Priority
?
659 Views
Last Modified: 2013-11-20
Hi

I'm using:
HRESULT hr = CoCreateInstance(CLSID_InternetExplorer, NULL, CLSCTX_ALL, IID_IWebBrowserApp, (LPVOID *) &m_pIE);

and the error:
error LNK2001: unresolved external symbol _IID_IWebBrowserApp

is coming.

Could anyone help? I'm including the file Exdisp.h and Exdispid.h, and am using VC++ 5.0

Thanks in advance.

Rgds.
Abhi
0
Comment
Question by:kabhi
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 86

Accepted Solution

by:
jkr earned 375 total points
ID: 2570493
Did you

#define INITGUID

before including the header files?
0
 
LVL 8

Expert Comment

by:gelbert
ID: 2570589
You need to include <initguid.h> before
Exdisp.h and Exdispid.h
0
 

Author Comment

by:kabhi
ID: 2570687
Thanks guys- I didn't know it has to be included only once.
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Exception Handling is in the core of any application that is able to dignify its name. In this article, I'll guide you through the process of writing a DRY (Don't Repeat Yourself) Exception Handling mechanism, using Aspect Oriented Programming.
In this post we will learn different types of Android Layout and some basics of an Android App.
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
Add bar graphs to Access queries using Unicode block characters. Graphs appear on every record in the color you want. Give life to numbers. Hopes this gives you ideas on visualizing your data in new ways ~ Create a calculated field in a query: …
Suggested Courses
Course of the Month11 days, 5 hours left to enroll

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question