www.digitalmars.com         C & C++   DMDScript  

c++ - XML Library

reply Todd <Todd_member pathlink.com> writes:
I'm somewhat new to C++ and very new to DMC++.
I'm trying to use a XML library, I have the Xerces C library, but I'm unsure how
to use it in my project.  I can import particular functions, but I'm unsure how
to use classes defined in the dll.
Any help or pointers would be greatly appreciated
Thanks,
Todd
Oct 04 2002
parent Jan Knepper <jan smartsoft.cc> writes:
Have no idea either.
Which compiler is the .DLL compiled with?
If you only have headers files a .lib and a .dll and the original code is C++
your
only solution might be to write a layer with the compiler the .DLL/.LIB where
generated with that converts C++ classes to a C API...
An other option is to use an other library. There is something around called
EXPAT.
Just search for it on Google. It comes with the sources.

Jan



Todd wrote:

 I'm somewhat new to C++ and very new to DMC++.
 I'm trying to use a XML library, I have the Xerces C library, but I'm unsure
how
 to use it in my project.  I can import particular functions, but I'm unsure how
 to use classes defined in the dll.
 Any help or pointers would be greatly appreciated
 Thanks,
 Todd

Oct 04 2002