OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]
encountering problems using 'xerces-c-3.0.1-x86-windows-vc-7.1'

   I'm encountering problems using 'xerces-c-3.0.1-x86-windows-vc-7.1'. There is a linkage prob.
   My purpose is to make a win32 API appli (in c++) able to parse xml files. Then I've download the ''xerces-c-3.0.1-x86-windows-vc-7.1'' lib and installed the path to lib and includes towards this lib.
   It seems to be a call to a dll the prob...but I've installed the 2 dll [xerces-c_3_0D.dll + xerces-c_3_0.dll] in many places without results.
Thank you for any suggestion.
CONTEXT: os windows XP, IDE: visual c++ express/DEV c++
/////En extract of code/////////////////////>///////////////////////
//compile AND link ------------------>
#include <xercesc/util/PlatformUtils.hpp>
using namespace xercesc;
//<-------------------- compile AND link
//compile BUT don't link ->
  try {
    XMLPlatformUtils::Initialize();   // <--- link fails there
  catch (const XMLException& toCatch) {
    // Do your failure processing here
    return 1;
//<- compile BUT don't link
/////En extract of code///////////////////</////////////////////////

Édition des liens en cours...
main.obj : error LNK2019: symbole externe non résolu "__declspec(dllimport) public: static void __cdecl xercesc_3_0::XMLPlatformUtils::Initialize(char const * const,char const * const,class xercesc_3_0::PanicHandler * const,class xercesc_3_0::MemoryManager * const)" (__imp_?Initialize@XMLPlatformUtils@xercesc_3_0@@SAXQBD0QAVPanicHandler@2@QAVMemoryManager@2@@Z) référencé dans la fonction "void __cdecl xmlTest(void)" (?xmlTest@@YAXXZ)
main.obj : error LNK2001: symbole externe non résolu "__declspec(dllimport) public: static char const * const xercesc_3_0::XMLUni::fgXercescDefaultLocale" (__imp_?fgXercescDefaultLocale@XMLUni@xercesc_3_0@@2QBDB)
C:\Documents and Settings\claude_antidot\My Documents\Visual Studio 2008\Projects\todotooolIII\Debug\todotooolIII.exe : fatal error LNK1120: 2 externes non résolus


Invite your mail contacts to join your friends list with Windows Live Spaces. It's easy! Try it!

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 1993-2007 XML.org. This site is hosted by OASIS