We link Xerces statically with MS devstudio. How to do it: - First change the project type from dll to static lib. - Remove the Win32MsgLoader from the project and add the InMemMsgLoader instead. - Change the project settings to define XML_USE_INMEM_MESSAGELOADER instead of USE_WIN32_MESSAGELOADER. - Change the defines for PLATFORM_EXPORT and PLATFORM_IMPORT by removing the _declspec(dllexport) and _declspec(dllimport) - Rebuild.
Hope I didn't forget anything. Good luck Erik Rydgren Aptic AB Sweden > -----Original Message----- > From: Chaudhuri, Hiran [mailto:[EMAIL PROTECTED] > Sent: den 16 februari 2004 17:51 > To: [EMAIL PROTECTED] > Subject: Linking Xerces C++ statically > > Hi there. > > In the docs it is stated that Xerces C++ requires xerces-2.4.0.dll (on > Windows) to be distributed. Is it possible to have Xerces linked > statically so I do not need to distribute the DLL? > > Hiran > > --------------------------------------------------------------------- > 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]