Subj : Re: XML, DOM and BC++ To : borland.public.cpp.borlandcpp From : "MarvinAvery" Date : Wed Oct 29 2003 04:44 pm "Benjamin Pratt" wrote in message news:3f983e90$1@newsgroups.borland.com... > You should be able to use the MSXML engine with BC5. It is a COM library and > provides interfaces to XML using DOM or SAX. DOM and SAX are two different > standard interfaces for accessing XML files. They do not specify an > implementation, just the interface. Thus MSXML is one implementation of DOM > and SAX interfaces. > > The documentation for MSXML on MSDN is the best I have ever seen. I got up > to speed entirely from that resource and did not require any additional > books on DOM or SAX, its that good. However, I don't think BC5 supports type > libraries for COM programming. Hence the 'smart-pointer' syntax that the > MSDN documentation uses you will need to translate into normal COM > CreateInstance, HRESULT, etc. stuff. > > If you need any other help, just post :) Well, I installed the MSXML SDK and looked at the documentation -- it is very detailed. I started trying it using the "manual" methods and immediately ran into problems. As indicated, I included but when I compiled, I got an error message for every line that referenced the MIDL_INTERFACE macro such as: MIDL_INTERFACE("2933BF8F-7B36-11d2-B20E-00C04F983E60") This macro is not defined anywhere in BC5. What is it supposed to do? Can you help me? Thanks. Marvin --------------------------------- Marvin Avery marvin.avery@hrdc-drhc.gc.ca .