Re: (no subject)

Lee Passey <[email protected]> Thu, 03 Jan 2008 15:25:19 -0700
Newsgroups gmane.text.xml.expat.general
Message-ID <[email protected]>
Joe Cosby wrote:

[snip]

> There's also a directory expat-2.0.1\win32\bin\Debug which contains
> libexpatMT.lib and libexpatW.lib, and I'm thinking I might be able to
> link with these but again I am not sure how to set the project up.

1. #define XML_STATIC for those portions of your source code that use expat.

2. Include expat.h from source/lib, as necessary.

3. Link to libexpatMT.lib in from StaticLibs for regular (ASCII, utf-8) 
programs or libexpatwMT.lib for ucs-2 (unicode, wide character) 
applications. There is no difference between libexpatMT.lib and 
libexpatML.lib.

HTH