Beginner #import questions
I #imported the msxml.dll typelib into a console project to play a little
with the IE5 xml parser from VC++.
Hating to type "xml::" or similar every time, I tried "no_namespace" at
This gives a whole load of errors, most of them redeclaration
Second try was to do a "using namespace MSXML;" after the #import.
This works, and I can do simple parsing and xml creation.
Then I tried to make some helper functions to construct "element" tags and
return them using IXMLDOMElement* parameters. Now the compile fails again:
the compiler gives "ambiguous symbol" and then can't find some methods of
some MSXML interfaces.
I have added some include files and libraries to the VC++ directories
settings. The order is:
-MSXMLSDK (MSXML 2.6 parser)
-IE5 (IE5 headers)
Everything works like it should when I use a namespace for the typelib
So what gives? Is there a simple declaration issue I don't see?
Are some older msxml.h headers making trouble?
Any suggestions appreciated,