[Expat-discuss] (no subject)

Lee Passey lee at novomail.net
Thu Jan 3 23:25:19 CET 2008


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



More information about the Expat-discuss mailing list