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. XML / XSL
  4. IXMLDOMDocumentPtr and IXMLDOMDocument ?!?!

IXMLDOMDocumentPtr and IXMLDOMDocument ?!?!

Scheduled Pinned Locked Moved XML / XSL
htmlxmlquestion
4 Posts 3 Posters 2 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.
  • D Offline
    D Offline
    Daniel Strigl
    wrote on last edited by
    #1

    I try to save my data in my pocket pc application in xml with the MSXML DOM parser. I looked on some source codes and found out that are are many different classes (interfaces) like "IXMLDOMDocumentPtr" and "IXMLDOMDocument" ... what's the different between this classes (interfaces)? Daniel ;) --------------------------- Never change a running system!

    B M 2 Replies Last reply
    0
    • D Daniel Strigl

      I try to save my data in my pocket pc application in xml with the MSXML DOM parser. I looked on some source codes and found out that are are many different classes (interfaces) like "IXMLDOMDocumentPtr" and "IXMLDOMDocument" ... what's the different between this classes (interfaces)? Daniel ;) --------------------------- Never change a running system!

      B Offline
      B Offline
      Bjoern Graf
      wrote on last edited by
      #2

      They basicly the same. The COM interfaces without the trailing Ptr are the raw interfaces, while the ones with the ptr are smart pointers which free the COM object if the interfaces isnt referenced anymore.

      1 Reply Last reply
      0
      • D Daniel Strigl

        I try to save my data in my pocket pc application in xml with the MSXML DOM parser. I looked on some source codes and found out that are are many different classes (interfaces) like "IXMLDOMDocumentPtr" and "IXMLDOMDocument" ... what's the different between this classes (interfaces)? Daniel ;) --------------------------- Never change a running system!

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

        IXMLDOMDocument is a COM interface. IXMLDOMDocument* is an interface pointer on a particular instance of a DOMDocument COM object. IXMLDOMDocumentPtr is a typedef for a _com_ptr_t that manages a IXMLDOMDocument*. --Mike-- "Adventure. Excitement. A Jedi craves not these things."   -- Silent Bob 1ClickPicGrabber - Grab & organize pictures from your favorite web pages, with 1 click! My really out-of-date homepage Sonork-100.19012 Acid_Helm

        D 1 Reply Last reply
        0
        • M Michael Dunn

          IXMLDOMDocument is a COM interface. IXMLDOMDocument* is an interface pointer on a particular instance of a DOMDocument COM object. IXMLDOMDocumentPtr is a typedef for a _com_ptr_t that manages a IXMLDOMDocument*. --Mike-- "Adventure. Excitement. A Jedi craves not these things."   -- Silent Bob 1ClickPicGrabber - Grab & organize pictures from your favorite web pages, with 1 click! My really out-of-date homepage Sonork-100.19012 Acid_Helm

          D Offline
          D Offline
          Daniel Strigl
          wrote on last edited by
          #4

          Thanks! Daniel ;) --------------------------- Never change a running system!

          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