I am trying to use xerces-c 2.7 in a MFC application. I am currently using the 7.0 compiler. I did download the source and successfuly built all libraries. I can even compile my source successfully but I can never link properly. I always get errors like this: xercesTest1 error LNK2019: unresolved external symbol "__declspec(dllimport) public: static class xercesc_2_7::DOMImplementation * __cdecl xercesc_2_7::DOMImplementationRegistry::getDOMImplementation(wchar_t const *)" ([EMAIL PROTECTED]@xercesc_2_7@@[EMAIL PROTECTED]@[EMAIL PROTECTED]) referenced in function "public: static void __cdecl Test::doTest(void)" ([EMAIL PROTECTED]@@SAXXZ) xercesTest1 error LNK2019: unresolved external symbol "__declspec(dllimport) public: static bool __cdecl xercesc_2_7::XMLString::transcode(char const * const,wchar_t * const,unsigned int,class xercesc_2_7::MemoryManager * const)" ([EMAIL PROTECTED]@xercesc_2_7@@[EMAIL PROTECTED]@@Z) referenced in function "public: static void __cdecl Test::doTest(void)" ([EMAIL PROTECTED]@@SAXXZ)
I thought it was me at first.... turns out if I use console application instead of MFC one, things compile and work just fine. In addition I did the same test in VC6.0 and everything compiles and links just fine. Can anyone help me with this? Best regards, Antoan Nikolaev
