In order to use MSXML 6.0 with DTDs, I need to set the ProhibitDTD property to false. I had been using the CXMLDOMDocument class generated from the typelib, but it has no function for ProhibitDTD. So I tried using CXMLDOMDocument2 instead since it has a setProperty function, like so: doc.setProperty(_T("ProhibitDTD"), COleVariant(static_cast<VARIANT_BOOL>(FALSE), VT_BOOL)); This compiles and runs without error, but the document still fails on the load() command if there is a DTD. How can ProhibitDTD be modified with the typelib-generated classes?