I downloaded the Xerces-c source from the xerces.appache mirror. I want to create a DLL I can use with C++Builder 10.0 Seattle, for both 32-bit and 64-bit.
The build instructions and download archive provide a Visual C++ Solution I can use with VS Studio Express 2015, OR instructions to build with make files designed for Borland C++. Borland gave up the C++ tools a decade ago, so without even trying the make files, I assumed they would not work with my Embarcadero 10.0 Seattle compiler. Thus, I built xerces-all with VS Studio Express 2015, and it all appears to work. (The DLL built without error, and the samples built and seem to run.)
I have been trying to make changes to the VS Studio solution (changing calling convention from __cdecl
to __stdcall
), but that just makes the samples fail to build.
Following advice from Remy Lebeau and this article I found (Using Visual C++ DLLs with C++Builder), I have attempted to use Embarcadero utilities TDUMP, IMPDEF and IMPLIB to extract the export names from the built DLL. These yield output that looks like this:
EXPORT ord:1763='?Initialize@XMLPlatformUtils@xercesc_3_1@@SAXKKKQBD0QAVPanicHandler@2@QAVMemoryManager@2@@Z'
I posted the application code I'm trying to build as a simple test in this thread:
unresolved external 'xercesc_3_1::XMLPlatformUtils::Initialize' in C++ Builder test app
I am confused beyond belief. How can I get either a DLL or a LIB I can use with my tools?