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. C / C++ / MFC
  4. XML Porting Problem

XML Porting Problem

Scheduled Pinned Locked Moved C / C++ / MFC
helpxmlquestion
4 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.
  • S Offline
    S Offline
    Shenthil
    wrote on last edited by
    #1

    I am porting a XML based project from VC6.0 to VC7.0. But, 7.0 compiler shows 'ambigous symbol' error. How can I solve it.

    S 1 Reply Last reply
    0
    • S Shenthil

      I am porting a XML based project from VC6.0 to VC7.0. But, 7.0 compiler shows 'ambigous symbol' error. How can I solve it.

      S Offline
      S Offline
      Steve S
      wrote on last edited by
      #2

      You're not helping much. What is ambiguous? Normally this is down to having a symbol clash inside and outside a namespace, one of the favourite culprits being InlineIsEqualGUID. Steve S

      S 1 Reply Last reply
      0
      • S Steve S

        You're not helping much. What is ambiguous? Normally this is down to having a symbol clash inside and outside a namespace, one of the favourite culprits being InlineIsEqualGUID. Steve S

        S Offline
        S Offline
        Shenthil
        wrote on last edited by
        #3

        When I include #import "msxml3.dll" using namespace MSXML2; in the header file, some of the Interface Pointer Declarations are clashing. But when I specify the namespace locally, its accepting.

        S 1 Reply Last reply
        0
        • S Shenthil

          When I include #import "msxml3.dll" using namespace MSXML2; in the header file, some of the Interface Pointer Declarations are clashing. But when I specify the namespace locally, its accepting.

          S Offline
          S Offline
          Steve S
          wrote on last edited by
          #4

          Try not importing MSXML3, but instead, #include msxml.h or msxml2.h You'll only have raw interfaces that way, but it should eliminate the namespace problems. Alternatively, don't have 'using namespace', and specify it locally. It's a pain, but hey, that's life... Steve S

          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