this is bug: the ContentLeafNameTypeVector should be exported from the Xerces DLL (as objects of this type are returned by the XMLContentModel class that is exported).
I have fixed it in the CVS version; if you need you can patch your copy of Xerces by changing the declaration in ContentLeafNameTypeVector.hpp from
class ContentLeafNameTypeVector : public XMemory
to
class XMLPARSER_EXPORT ContentLeafNameTypeVector : public XMemory
Alberto
At 01.20 20/03/2005 -0800, Elisha Berns wrote:
I get a link error when linking the Xerces-c 2.6 DLL:
(apparently the file ContentLeafNameTypeVector.cpp only shows up in the XercesLib project):
XsdGraph.obj : error LNK2019: unresolved external symbol "public: class xercesc_2_6::QName * __thiscall xercesc_2_6::ContentLeafNameTypeVector::getLeafNameAt(unsigned int)const "
XsdGraph.obj : error LNK2019: unresolved external symbol "public: enum xercesc_2_6::ContentSpecNode::NodeTypes const __thiscall xercesc_2_6::ContentLeafNameTypeVector::getLeafTypeAt(unsigned int)const "
XsdGraph.obj : error LNK2019: unresolved external symbol "public: unsigned int const __thiscall xercesc_2_6::ContentLeafNameTypeVector::getLeafCount(void)const "
Debug/XmlToolsTest.exe : fatal error LNK1120: 3 unresolved externals
So is this an error, or is there some other build I need to do to make sure this file is included in the build?
Thanks for any help here,
Elisha Berns [EMAIL PROTECTED] tel. (310) 556 - 8332 fax (310) 556 - 2839
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]