HI, I'm trying to create a project to manage xml files, my source code is:
#include <msxml.h>
IXMLDOMDocument *iXMLDoc;
HRESULT hr;
hr = CoCreateInstance(CLSID_DOMDocument,
NULL,
CLSCTX_INPROC_SERVER,
IID_IXMLDOMDocument,(LPVOID*)&iXMLDoc);
I get this error:
A specified class is not registered in the registration database. Also can
indicate that the type of server you requested in the CLSCTX enumeration is
not registered or the values for the server types in the registry are
corrupt.
Can someone help me, I'm desesperated.
Thanks
Leer las respuestas