Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. COM
  4. Unresolved External Link

Unresolved External Link

Scheduled Pinned Locked Moved COM
helphtmlcom
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    Adam Arthur
    wrote on last edited by
    #1

    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...

    M 1 Reply Last reply
    0
    • A Adam Arthur

      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...

      M Offline
      M Offline
      Michael Dunn
      wrote on last edited by
      #2

      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

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups