Re: MSXML conflicting issues trying to port VC6 project to VC8.
<murrayh@gmail.com> wrote in message
news:1148440758.476817.105520@j73g2000cwa.googlegroups.com...
If I understand correctly, this article is just talking about prefixing
the MSXML2 namespace to the objects. I did stumble accross this problem
compiling common.dll, and fixed it by applying the scope.
OK. First, I should tell you that I deleted your original message (I read
_too_ many groups to save all the messages that I read - I save only my
replies) so I'm not sure exactly but I think that you have
IXMLElement
in your source where the article says you should edit that line to be
MSXML2::IXMLElement
to qualify it with the proper namespace.
To be totally honest, I don't know much about the #import
statement and what it is doing for me, but I do know that I can't
change whatever is in msxml3.dll ;).
Using #import, the compiler reads the metadata associated with the COM
object (type library in COM parlance) and wraps it with a C++ class so, for
example, the synthesized constructor calls the AddRef() method and the
destructor calls Release().
Regards,
Will