Christopher Schene
asked on
Why am I seeing with20113: C2872: 'IDocument' : ambiguous symbol
Hello,
I am seeing the error below and my suspicion is that it is happening because there is no name space specified for my own IDocument' definition.
Any idea how to fix this? Is there a way to tell which namespace a particular line is actually in? There are so many levels of includes that the name space information is obscured.
1>c:\companybuild\companyf ilter\rele ase\_inter mediate\au tomation\a d20.tlh(12 4): error C2872: 'IDocument' : ambiguous symbol
could be 'c:\companybuild\companyfi lter\relea se\_interm ediate\aut omation\ad 20.tlh(98) : IDocument'
or 'C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\atlmfc\include\atl handler.h( 161) : ATL::IDocument'
I am seeing the error below and my suspicion is that it is happening because there is no name space specified for my own IDocument' definition.
Any idea how to fix this? Is there a way to tell which namespace a particular line is actually in? There are so many levels of includes that the name space information is obscured.
1>c:\companybuild\companyf
could be 'c:\companybuild\companyfi
or 'C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\atlmfc\include\atl
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Zoppo: your solution worked. thanks!
You have to decide which one is correct and remove the other.