Add on IXMLDOMSchemaCollectionPtr crashing

EDN Admin

Well-known member
Joined
Aug 7, 2010
Messages
12,794
Location
In the Machine
I am having one open source code in which they do
IXMLDOMSchemaCollectionPtr pXS;

HRESULT hr = pXS.CreateInstance(__uuidof(MSXML2::XMLSchemaCache60));<span style="white-space:pre

printf ("n hr=%d",hr);
<span style="white-space:pre hr = pXS->add("MyTrace", "test.xsd");


now this add works for original devlopers xsd files but when i try to do it for my xsd file it fails i just replaced couple of values and made sure i take care of the namespace any idea what might be the reason issue is persistent on windows7 and xp

View the full article
 
Back
Top