[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

encountering problems using 'xerces-c-3.0.1-x86-windows-vc-7.1'

  • From: charles magnes <charles_magnes@h...>
  • To: <xml-dev@l...>
  • Date: Fri, 27 Mar 2009 10:21:25 +0100

encountering problems using 'xerces-c-3.0.1-x86-windows-vc-7.1'
Hello,
 
   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.
Claude
 
-----------------------------------------------------------------------
 
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///////////////////</////////////////////////
 
ERRORS////////////////////////////////////>/////////////////////////

É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]


PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.