Are you sure your application is linking with the Xerces library? Check
the link settings for your project to make sure, and while you're at it,
make sure you're using the multithreaded DLL run-time libraries.
Dave
"林 子芯"
<[EMAIL PROTECTED] To:
[email protected]
mail.com> cc: (bcc: David N
Bertoni/Cambridge/IBM)
Subject: problem initialising
xerces C++ in a MFC project
03/11/2002 08:00
AM
Dear all,
i was wondering could anyone help me over the matter? at present i am xalan
C++ V. 1.3 compliing under VC++ v6.0 SP6 and i was attempt to add the
initialising code for both xerces and xalan in the CwinApp object
constructor
( i.e. COutApp::COutApp()
{ XMLPlatformUtils::Initialize();
XalanTransformer::initialize(); //initialise xalan}
and termination code in the destructor
COutApp::~COutApp()
{XalanTransformer::terminate(); //is responisble Terminate Xalan
XMLPlatformUtils::Terminate(); }
however, there are problem when i tried to link up the object file, it
gives me the following error message: -
Output2.obj : error LNK2001: unresolved external symbol
"__declspec(dllimport) public: static void __cdecl
XMLPlatformUtils::Initialize(void)"
([EMAIL PROTECTED]@@SAXXZ)
Output2.obj : error LNK2001: unresolved external symbol
"__declspec(dllimport) public: static void __cdecl
XMLPlatformUtils::Terminate(void)"
([EMAIL PROTECTED]@@SAXXZ)
i was wondering whether is that because i should declare this
initialisation process in the wrong place or there are more files and
project setting needs to be added/updated?
Many thanks
Regards
Kit
_________________________________________________________________
在 http://explorer.msn.com.hk/intl.asp 免費下載 MSN Explorer