Title: Message
 
> Is it possible to statically link Xalan into .exe/.dll project?
For all of you that are not subscibed to Xerces mailing list: on friday Mr. Marc Robertson explained to us how to link statically Xerces into our projects (exe or dll):
 
http://tinyurl.com/za74
 
(messages with "Static linking" in subject)
 
I've tried to do the same thing to statically link Xalan into my project, but got about 350 linker errors ("unresolved external"). Something like this:
 
XercesEntityBridge.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall xercesc_2_3::DOM_Entity::DOM_Entity(class xercesc_2_3::DOM_Entity const &)" ([EMAIL PROTECTED]@@[EMAIL PROTECTED]@@Z)
XercesEntityBridge.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: bool __thiscall xercesc_2_3::DOM_Entity::hasChildNodes(void)const " ([EMAIL PROTECTED]@xercesc_2_3@@QBE_NXZ)
XercesEntityBridge.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: class xercesc_2_3::DOMString __thiscall xercesc_2_3::DOM_Entity::getPublicId(void)const " ([EMAIL PROTECTED]@xercesc_2_3@@[EMAIL PROTECTED]
@XZ)
XercesEntityBridge.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: class xercesc_2_3::DOMString __thiscall xercesc_2_3::DOM_Entity::getSystemId(void)const " ([EMAIL PROTECTED]@xercesc_2_3@@[EMAIL PROTECTED]
 
I'm not sure where did compiler found __declspec(dllimport), because I've replaced that with blank space character in VCPPDefinitions.hpp?
 
Best regards,
Milan
 
 
-----Original Message-----
From: Milan Tomic [mailto:[EMAIL PROTECTED]
Sent: Monday, December 15, 2003 10:01 AM
To: XalanC
Subject: Static linking


> Which (VC++) project I have to compile to get Xalan.dll? AllInOne?
Ok. I got it. Thanks to Jaspreet Singh.

Is it possible to statically link Xalan into .exe/.dll project?

Thanks.

Reply via email to