CoCreateInstance in XP

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hello Group

I use the following code for creating an instance of XML document

HRESULT hr
IXMLDOMDocument *lXmldocPtr = NULL

hr = CoCreateInstance(__uuidof(DOMDocument40)
NULL
CLSCTX_INPROC_SERVER
__uuidof(IXMLDOMDocument)
(void**)&lXmldocPtr)

The above code is working fine with Win 2K. But, crashing in windows XP.

Could anybody give inputs as to how i can go about solving this in XP

thanks and regards
Asha
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top