[Expat-discuss] Expat as a static library in Win32

Subramanian, Binu binu.subramanian@barconet.com
Tue Jul 23 03:44:02 2002


Hello,

I want to use expat as a static library. I tried some of the suggestions
given on the mailing list...ie
replacing the lines in xmlparse.cpp and compiling with the _LIB option
instead of the _USRDLL option.
The lib compiled successfully but when i tried to use it in an application,
i get the following errors:

warning LNK4003: invalid library format; library ignored

Has anyone successfully converted expat to a static library and used it in
an application? Any suggestion/help will be very useful.

kr,
Binu