Skip to main content.
home | support | download

Back to List Archive

libswish-e.lib and MFC ?

From: Gunnar Mätzler <maetzler(at)not-real.mediadynamics.de>
Date: Tue Nov 02 2004 - 15:32:23 GMT
Hello everybody,

i tried to include libswish-e-mt.lib into an MFC-Application. (Both MFC6 anf
MFC 7 .NET).

However as soon as i try to link it, i get a whole bunch of linker errors.
Here's an example:

LIBCMT.lib(tolower.obj) : error LNK2005: _tolower already defined in
msvcrt.lib(MSVCRT.dll)
LIBCMT.lib(dosmap.obj) : error LNK2005: __errno already defined in
msvcrt.lib(MSVCRT.dll)
LIBCMT.lib(crt0dat.obj) : error LNK2005: _exit already defined in
msvcrt.lib(MSVCRT.dll)
LIBCMT.lib(crt0dat.obj) : error LNK2005: __exit already defined in
msvcrt.lib(MSVCRT.dll)
LIBCMT.lib(strftime.obj) : error LNK2005: _strftime already defined in
msvcrt.lib(MSVCRT.dll)
LIBCMT.lib(winxfltr.obj) : error LNK2005: __XcptFilter already defined in
msvcrt.lib(MSVCRT.dll)
LIBCMT.lib(crt0init.obj) : error LNK2005: ___xc_z already defined in
msvcrt.lib(cinitexe.obj)
LIBCMT.lib(crt0init.obj) : error LNK2005: ___xc_a already defined in
msvcrt.lib(cinitexe.obj)
LIBCMT.lib(crt0init.obj) : error LNK2005: ___xi_z already defined in
msvcrt.lib(cinitexe.obj)
LIBCMT.lib(crt0init.obj) : error LNK2005: ___xi_a already defined in
msvcrt.lib(cinitexe.obj)
LIBCMT.lib(strtol.obj) : error LNK2005: _strtoul already defined in
msvcrt.lib(MSVCRT.dll)
msvcrt.lib(MSVCRT.dll) : error LNK2005: __setmbcp already defined in
LIBCMT.lib(mbctype.obj)
LINK : warning LNK4098: defaultlib "msvcrt.lib" conflicts with use of other
libs; use /NODEFAULTLIB:library
LINK : warning LNK4098: defaultlib "LIBCMT" conflicts with use of other
libs; use /NODEFAULTLIB:library

Did someone around here already manage to create an MFC-Appliction (using
MFC) with the swish-e api and can give me a hint?

Best regards

Gunnar Maetzler
Received on Tue Nov 2 07:32:28 2004