-
March 9th, 2006, 06:55 AM
#1
Error importing msxml3.dll
In my file I import msxml3 like this:
#import "msxml3.dll"
using MSXML2::IXMLDOMDocument2Ptr;
using MSXML2::IXMLDOMNodePtr;
And i get the following error:
error C2874: using-declaration causes a multiple declaration of 'MSXML2::IXMLDOMNodePtr'
c:\Source\3.0\modes\Q3DPublisher\Debug\msxml3.tlh(287) : see declaration of 'MSXML2::IXMLDOMNodePtr'
Note that eliminating the "using MSXML2::IXMLDOMNodePtr" statement makes the pointer only be usable by typing the namespace (which I do not want)
"using namespace MSXML2" gives an error (which is confirmed in MSDN), so I cannot use that one.
Does anyone have a suggestion on how to use MSXML3 without problems?
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
|