You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-user@axis.apache.org by Andrius <an...@kada.lt> on 2004/05/07 07:21:37 UTC
MFC
Hi,
is Axis C++ intended to work with MFC? When I try to create a DLL with
MFC support I get a bunch of errors like:
msvcprt.lib(MSVCP60.dll) : error LNK2005: "public: __thiscall
std::basic_string<char,struct std::char_traits<char>,class
std::allocator<char> >::~basic_string<char,struct
std::char_traits<char>,class std::allocator<char> >(void)"
(??1?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@QAE@XZ)
already defined in client.lib(AxisTransport.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
Currently I'm using Axis 1.0, maybe someone knows how to solve this problem?
RE: MFC
Posted by Susantha Kumara <su...@opensource.lk>.
I am not what the problem is. But I know that Axis binary is compiled a
multi-threaded library. So try making your application too a
multi-threaded application (check VC project settings).
---
Susantha
-----Original Message-----
From: Andrius [mailto:andmia@kada.lt]
Sent: Friday, May 07, 2004 11:22 AM
To: axis-c-user@ws.apache.org
Subject: MFC
Hi,
is Axis C++ intended to work with MFC? When I try to create a DLL with
MFC support I get a bunch of errors like:
msvcprt.lib(MSVCP60.dll) : error LNK2005: "public: __thiscall
std::basic_string<char,struct std::char_traits<char>,class
std::allocator<char> >::~basic_string<char,struct
std::char_traits<char>,class std::allocator<char> >(void)"
(??1?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@QAE@XZ)
already defined in client.lib(AxisTransport.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
Currently I'm using Axis 1.0, maybe someone knows how to solve this
problem?