Another question ... When the midl process my .idl file ,it arbitrarily import the default msxml sdk and use the old version objects. if use one of these directors #include "C:\Program Files\MSXML 4.0\inc\msxml2.h" #include "C:\Program Files\MSXML 4.0\inc\msxml2.idl" #import "C:\winnt\system32\msxml4.dll" no_namespace Certain Interfaces are redefine . My wonder how to got rid of the midl's default msxml library and use my own sdk library? Scratch
I
i 5
@i 5
Posts
-
XML DOM in ATL -
XML DOM in ATLWhile i using an interface of DOM (IXMLDOMNode *) as an parameter of an interface like that :
[helpstring("method Load")] HRESULT Load([in]IXMLDOMNode * piXMLNode);
there is an midl error : midl\oleaut32.dll : error MIDL2020 : error generating type library : AddImplType failed : IXMLDOMDocument How it caused and how to handle it? thank. Scratch