Altova Mailing List Archives>Archive Index >microsoft.public.xml Archive Home >Recent entries >Thread Prev - Creating DOMDocument instance and windows service >Thread Next - Re: Creating DOMDocument instance and windows service Re: Creating DOMDocument instance and windows serviceTo: 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 | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
