Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


Re: CLSID_DOMDocument CreateInstance Fail

From: Marvin Smit <marvin.smit@-----.--->
To: NULL
Date: 11/7/2005 10:21:00 AM
Hi,

don't have a clear answer but some things you might want to check;

- is the CLSID_DOMDocument26 the constant for "MSXML.DOMDocument.2.6"?
- is the CLSID_DOMDocument the constant for "MSXML.DOMDocument"?
- Does the registry key "MSXML.DOMDocument.2.6" exist in your classes?
- Does the registry key "MSXML.DOMDocument" exists in your classes
(and does it point to the MSXML3 lib?)

Hope this helps,

Marvin Smit.

On Tue, 1 Nov 2005 23:30:02 -0800, "ck" <ck@d...>
wrote:

>I have app using msxml3.dll
>
>App is working fine with XP Professional , BTW,, 
>It didnot work in XP Home Edition and Win2K SP4 in the following code . 
>The msxml3.dll(Ver.8.50.2162.0 , SP5)  used by three OS are same version . 
>
>hr = CoCreateInstance( CLSID_DOMDocument26, NULL, 
>       CLSCTX_INPROC_SERVER , 
>       IID_IXMLDOMDocument2, (LPVOID*)&m_pDoc);
>==> This Failed with Error 0x80040154 in WIN2K
>
>
>hr = CoCreateInstance( CLSID_DOMDocument, NULL, 
>	CLSCTX_INPROC_SERVER , 
>	IID_IXMLDOMDocument, (LPVOID*)&m_pDoc);
>==> This Failed with Error 0x80040111 in XP Home Edition 
>
>
>Any help will be appreciated. Thanks in advance. 


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