Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

2) Edit the proj\usr\msxml6.dll.xml adding typedefs as needed.  For example:

Code Block
languagexml
   <coclass id="MXNamespaceManager60"/>
   
   <!--
   Added typedefs for backwards compatability to msxml3
   -->

   <typedef id="DOMDocument" type="DOMDocument60"/>
   <typedef id="DOMDocument40" type="DOMDocument60"/>
   <typedef id="FreeThreadedDOMDocument" type="FreeThreadedDOMDocument60"/>
   <typedef id="ServerXMLHTTP" type="ServerXMLHTTP60"/>
   <typedef id="XMLSchemaCache" type="XMLSchemaCache60"/>
   <typedef id="XSLTemplate" type="XSLTemplate60"/>

   <enumeration id="tagDOMNodeType"...


Alternatively, you can standardize on msxml3 and add typedefs to allow for newer versioned classIDs:


Code Block
In your translations script
<Registry type="libname" source="msxml3.dll" target="msxml6.dll" />

In msxml3.dll.xml

   <!--
   Added typedefs for backwards compatibility with later versions of MSXML2
   -->
   <typedef id="DOMDocument60" type="DOMDocument"/>
   <typedef id="DOMDocument40" type="DOMDocument"/>


See also

...