From mike.ray at btinternet.com Tue Oct 4 11:20:26 2011 From: mike.ray at btinternet.com (Michael Ray) Date: Tue, 4 Oct 2011 10:20:26 +0100 Subject: [Expat-discuss] Static Linking with MS VC 6.0 Message-ID: <1E347631D18249B69612395327CF6471@Mikes> Hello. I've only just joined this mailing list so I don't know how active it is. At the risk of asking this question in the wrong place, because I guess this is more of a VC than an Expat issue... I'm trying to statically link Expat with C sources in VC 6.0. I am getting LNK2001erros; undefined symbol. It seems to add __IMP__ to the front of function names. I have searched for an answer but can't find a definitive conclusion. Does anyone have a small example .DSP or .DSW with a C (not CPP) source so I can find the relevant linking switch? I also read in one of the readme files that it is neccessary to define XML_STATIC, but the explanation of why is inadequate. Thanks. Mike From mike.ray at btinternet.com Tue Oct 4 15:09:21 2011 From: mike.ray at btinternet.com (Michael Ray) Date: Tue, 4 Oct 2011 14:09:21 +0100 Subject: [Expat-discuss] Static Linking of Expat Again Message-ID: <96AD865A25A342B6BA6051D249705773@Mikes> Ooops...discovered one of the samples is statically linked...problem solved