The fact that the error message says DOMDocument2 instead of DOMDocument
hints that you are including (directly or indirectly) the Windows SDK
headers msxml.h (that has a #define DOMDocument DOMDocument2). Either
remove that #include, or add a #undef DOMDocument to your .cpp file.
Alberto
Chanaka Jayasuriya wrote:
Hi,
Can someone kindly give some advise me on solving the following link error,
I get when trying to build my vc8 project. I have built the xerces-c_2D.lib
with settings compatible with my vc8 project.
error LNK2019: unresolved external symbol "__declspec(dllimport) public:
class xercesc_2_8::DOMDocument2 * __thiscall
xercesc_2_8::AbstractDOMParser::getDocument(void)" (
[EMAIL PROTECTED]@xercesc_2_8@@[EMAIL PROTECTED]@XZ)
This is the only remaining link error and I have been doing everything
possible I can think of to solve it with no luck so far.
Can some one help, please.
Thanks
Chanaka