www.digitalmars.com Home | Search | C & C++ | D | DMDScript | News Groups | index | prev | next
Archives

D Programming
D
D.gnu
digitalmars.D
digitalmars.D.bugs
digitalmars.D.dtl
digitalmars.D.dwt
digitalmars.D.announce
digitalmars.D.learn
digitalmars.D.debugger

C/C++ Programming
c++
c++.announce
c++.atl
c++.beta
c++.chat
c++.command-line
c++.dos
c++.dos.16-bits
c++.dos.32-bits
c++.idde
c++.mfc
c++.rtl
c++.stl
c++.stl.hp
c++.stl.port
c++.stl.sgi
c++.stlsoft
c++.windows
c++.windows.16-bits
c++.windows.32-bits
c++.wxwindows

digitalmars.empire
digitalmars.DMDScript

c++ - XML Library

↑ ↓ ← 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
↑ ↓ → 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