This is my first time posting to the list. Hope someone could help.

I have linking problems when calling AbstractDOMParser::getDocument().

        XMLPlatformUtils::Initialize();

        XercesDOMParser* parser = new XercesDOMParser();
        ErrorHandler* errHandler = (ErrorHandler*) new HandlerBase();
        parser->setErrorHandler(errHandler);

        // prepare MemBufInputSource here

        parser->parse(memBufInputSource);
        DOMDocument* msgroot = parser->getDocument();

error LNK2019: unresolved external symbol "__declspec(dllimport) public:
class DOMDocument2 * __thiscall AbstractDOMParser::getDocument(void)"
(__imp_?getDocument@AbstractDOMParser@@QAEPAVDOMDocument2@@XZ) referenced in
function "public: int __thiscall tal::wa(void)" (?wa@tal@@QAEHXZ)

What's going on?
I'm linking against: xerces-c-src2_1_0\Build\Win32\VC7\Debug\xerces-c_2D.lib

Am I missing anything?

Anson


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to