Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


Re: Pb with cocreateinstance(CLSID_DOMDocument40)

From: Forest@-----------.---------.---
To: NULL
Date: 12/2/2004 9:29:00 AM
Thanks Jonathan,

Your idea is good.
I prefered changing CLSID_DOMDocument40 with CLSID_DOMDocument30, but it 
doesn't work anymore.

Forest

"Jonathan Chong" wrote:

> You are using msxml3.dll but your code are referring to class identifier
> CLSID_DOMDocument40 (which is found in msxml4.dll). To solve the problem,
> download MSXML 4.0 and change to use msxml4.dll instead.
> 
> "Forest" <Forest@d...> wrote in message
> news:134FA515-2603-4915-A652-612F5FC32CAF@m......
> > Hello,
> >
> > I want to verify my XML document with a XSD schema. To do this, I use the
> > msxml3 dll as following :
> >
> > CoInitialize(NULL);
> > IXMLDOMDocument2* pXMLDocument = NULL;
> > HRESULT hr = ::CoCreateInstance(CLSID_DOMDocument40, NULL, CLSCTX_SERVER,
> > IID_IXMLDOMDocument2, (LPVOID*) (&*pXMLDocument));
> >
> > On some machines, thats works perfectly. But, on others machines, I have
> the
> > REGDB_E_CLASSNOTREG error whereas the msxml3 dll seems to be registered
> > correctly.
> >
> > Does anybody have an idea ?
> > I tried msxml3usa.msi found on the microsoft site. It doesn't better.
> > How can I verify the DLL is really registered ?
> >
> > Thanks for your help
> 
> 
> 


transparent
Print
Mail
Like It
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent