XML Porting Problem
-
I am porting a XML based project from VC6.0 to VC7.0. But, 7.0 compiler shows 'ambigous symbol' error. How can I solve it.
-
You're not helping much. What is ambiguous? Normally this is down to having a symbol clash inside and outside a namespace, one of the favourite culprits being InlineIsEqualGUID. Steve S
-
When I include #import "msxml3.dll" using namespace MSXML2; in the header file, some of the Interface Pointer Declarations are clashing. But when I specify the namespace locally, its accepting.
Try not importing MSXML3, but instead, #include msxml.h or msxml2.h You'll only have raw interfaces that way, but it should eliminate the namespace problems. Alternatively, don't have 'using namespace', and specify it locally. It's a pain, but hey, that's life... Steve S