Click to See Complete Forum and Search --> : Interface not registered!


barsteng
May 19th, 1999, 01:26 AM
I'm programming with VC6 and IE5.I want to benifit
from msxml.dll,so I use the #import msxml.dll .
But when I CreateInstance,the error is "Interface not registered"!Why?
Anybody can help me?
My code is bellow:

#import "c:\windows\system\msxml.dll"
MSXML::IXMLDOMDocumentPtr pXmldom;
hres=pXmldom.CreateInstance (__uuidof(MSXML::IXMLDOMDocument ))



The hres=80040154,this error mean Interface not registered!
Thanks a lot!

muscicapa
May 20th, 1999, 08:52 AM
Your code is very educative, I normally
call Loadlibrary and getprocaddress for non COM dlls and use the OLEviewer to get info on interfaces to call thru CoCreateInstance.

I would like to test this code sometime.