Unresolved External Link
-
I feel kind of stupid for asking this, because I haven't had an unresolved external link problem since I began programming three years ago...but here it goes. I am trying to access the DOM of Internet Explorer. When I call QueryInterface() on other interfaces such as IID_IHTMLDocument, it compiles and works just fine. However, when I do this: IMarkupServices* pMarkup; pInterface->QueryInterface(IID_IMarkupServices, (LPVOID*)&pMarkup); I get the following compiler error: error LNK2001: unresolved external symbol _IID_IMarkupServices I've never had an error like this in relation to COM, so I am kind of baffled as to what I need to link to, or do, in order to resolve this link. Thank-you very much...
-
I feel kind of stupid for asking this, because I haven't had an unresolved external link problem since I began programming three years ago...but here it goes. I am trying to access the DOM of Internet Explorer. When I call QueryInterface() on other interfaces such as IID_IHTMLDocument, it compiles and works just fine. However, when I do this: IMarkupServices* pMarkup; pInterface->QueryInterface(IID_IMarkupServices, (LPVOID*)&pMarkup); I get the following compiler error: error LNK2001: unresolved external symbol _IID_IMarkupServices I've never had an error like this in relation to COM, so I am kind of baffled as to what I need to link to, or do, in order to resolve this link. Thank-you very much...
Do a find-in-files in the LIB directory for that symbol, and you'll find that it's in uuid.lib. --Mike-- http://home.inreach.com/mdunn/ While I can't be correct on all matters, I can make the reassuring claim that where I am inaccurate, I am at least definitively inaccurate. :love: your :bob: with :vegemite: and :beer: Sonork ID - 100.10414 AcidHelm