Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


Re: Creating DOMDocument instance and windows service

From: "Alex Krawarik[MSFT]" <alexkr@---------.--->
To: NULL
Date: 7/7/2006 9:54:00 AM

Are you sure all machines have MSXML4 installed? the CLSID you are using is 
MSXML2.DomDocument.4.0, which is only available in MSXML4. MSXML4 does not 
automatically come installed with Windows, you have to install it.

You might try using MSXML3 CLSIDs if you are not specifically targetting you 
application at MSXML4


"Andriy Lesyuk" <AndriyLesyuk@d...> wrote in message 
news:A53A7A0F-0663-4BB9-9946-758B49C99101@m......
>I developed windows service using Visual C++. In this service I use DOM
> Document to create SOAP message. The code looks like this:
>
> ...
> CoCreateInstance(CLSID_DOMDocument40, NULL, CLSCTX_ALL,
> IID_IXMLDOMDocument2, (LPVOID*)&m_pXmlDoc));
> ...
>
> On some machines CoCreateInstance fails with E_OUTOFMEMORY error. At the
> time code compiled as console application works. What is wrong?
>
> Thanks,
> Andriy 




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