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



Reply via email to