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