_beginthreadex and _endthreadex is windows functions.

From the windows documentation:

Libraries

Multithreaded versions of the C run-time libraries only.

To use _beginthread or _beginthreadex, the application must link with one of the multithreaded C run-time libraries.

If you are not on a windows platform then you have set the wrong definitions while compiling Xalan and Xerces.

 

Regards

Erik Rydgren

 

 

-----Original Message-----
From: Pankaj Bhatia [mailto:[EMAIL PROTECTED]
Sent: den 15 januari 2004 16:57
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: Linkage Nightmare.

 

Hi,

   I am a developer. I am trying to use Xalan for XSL transform and using corresponding APIs.

   I am using Xalan_1_5_D.lib with xerces-c_2_1_0.vc6.d.lib, I think these are compatible.

   I am getting a very strange linkage error :

 

    
    Linking...
    nafxcwd.lib(thrdcore.obj) : error LNK2001: unresolved external symbol
__endthreadex
    nafxcwd.lib(thrdcore.obj) : error LNK2001: unresolved external symbol
__beginthreadex
    Schema2QDR.exe : fatal error LNK1120: 2 unresolved externals
    Error executing link.exe.

   

 

    These APIs(in Red) are being used in XMLHTTPRequest.cpp, XMLDOMDocument.cpp & ThreadTest.cpp but M not able to find

   it in any xerces header file.

 

   Please help if anybody could.

 

Thanks In advance

Pankaj Bhatia

Developer Quark

 

 

 

You are Never Given A Dream Without Also Being Given The Power To Make It True....

 

Reply via email to