|
-
May 19th, 1999, 01:26 AM
#1
Interface not registered!
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!
-
May 20th, 1999, 08:52 AM
#2
Re: Interface not registered!
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.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|