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. Importing COM dll from unix

Importing COM dll from unix

Scheduled Pinned Locked Moved XML / XSL
c++comjsonhelp
6 Posts 2 Posters 3 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.
  • T Offline
    T Offline
    tom groezer
    wrote on last edited by
    #1

    How is it possible to import a COM dll from any flavor of unix. On C++ on windows we can use the #import command to achieve this. Does the same command help on any unix flavor. The intent is to use the parsing functionality of msxml [parser.

    S 1 Reply Last reply
    0
    • T tom groezer

      How is it possible to import a COM dll from any flavor of unix. On C++ on windows we can use the #import command to achieve this. Does the same command help on any unix flavor. The intent is to use the parsing functionality of msxml [parser.

      S Offline
      S Offline
      Stuart Dootson
      wrote on last edited by
      #2

      AFAIK, Unix doesn't have the necessary COM infrastructure to let you use COM. So, you're out of luck. However...there are a lot of other XML parsers out there - I'd suggest looking at libxml2[^], expat[^] or Xerces-C++[^].

      Java, Basic, who cares - it's all a bunch of tree-hugging hippy cr*p CodeProject MVP for 2010 - who'd'a thunk it!

      T 1 Reply Last reply
      0
      • S Stuart Dootson

        AFAIK, Unix doesn't have the necessary COM infrastructure to let you use COM. So, you're out of luck. However...there are a lot of other XML parsers out there - I'd suggest looking at libxml2[^], expat[^] or Xerces-C++[^].

        Java, Basic, who cares - it's all a bunch of tree-hugging hippy cr*p CodeProject MVP for 2010 - who'd'a thunk it!

        T Offline
        T Offline
        tom groezer
        wrote on last edited by
        #3

        Please let me know your comments in below:- 1) Xerces: we need a separate platform/architecture specific binary. This is provided by Xerces. 2) libxml2- Can this be used on unix. I guess its usage is limited to windows. 3) xmllite is another one- One needs to leverage COM technology as interfaces are provided for XML related functions. 4) msxml works on similar way as that in 3) The requirement is to read a simple xml document in an application. This application would hold the XML DOM if created in memory in static area as the string that holds the static XML string would be static.

        S 1 Reply Last reply
        0
        • T tom groezer

          Please let me know your comments in below:- 1) Xerces: we need a separate platform/architecture specific binary. This is provided by Xerces. 2) libxml2- Can this be used on unix. I guess its usage is limited to windows. 3) xmllite is another one- One needs to leverage COM technology as interfaces are provided for XML related functions. 4) msxml works on similar way as that in 3) The requirement is to read a simple xml document in an application. This application would hold the XML DOM if created in memory in static area as the string that holds the static XML string would be static.

          S Offline
          S Offline
          Stuart Dootson
          wrote on last edited by
          #4

          Xerces and libxml2 are both avaiable Windows OR Unix. Xerces is part of the Apache project, libxml2 part of Gnome (I think). Neither msxml nor XML Lite are available on Unix. Another cross-platform alternative - RapidXML[^]. I would go for RapidXML, I think.

          Java, Basic, who cares - it's all a bunch of tree-hugging hippy cr*p CodeProject MVP for 2010 - who'd'a thunk it!

          T 1 Reply Last reply
          0
          • S Stuart Dootson

            Xerces and libxml2 are both avaiable Windows OR Unix. Xerces is part of the Apache project, libxml2 part of Gnome (I think). Neither msxml nor XML Lite are available on Unix. Another cross-platform alternative - RapidXML[^]. I would go for RapidXML, I think.

            Java, Basic, who cares - it's all a bunch of tree-hugging hippy cr*p CodeProject MVP for 2010 - who'd'a thunk it!

            T Offline
            T Offline
            tom groezer
            wrote on last edited by
            #5

            I have heard that parsers that support XPATH give the best performance and should be used if applications from scratch are used. IS RapidXML XPATH suppotive? If no, let me know your comments?

            S 1 Reply Last reply
            0
            • T tom groezer

              I have heard that parsers that support XPATH give the best performance and should be used if applications from scratch are used. IS RapidXML XPATH suppotive? If no, let me know your comments?

              S Offline
              S Offline
              Stuart Dootson
              wrote on last edited by
              #6

              Ummm - well, what are you trying to do with it? XPath is useful for querying an XML document, but does nothing for the performance of the raw parser. Think about how you're going to get information in and out of the XML file, then make your technology decisions based on those specific requirements.

              Java, Basic, who cares - it's all a bunch of tree-hugging hippy cr*p CodeProject MVP for 2010 - who'd'a thunk it!

              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