Re: [xml] Link warnings .... that may be causing my COM component to not load



* Michael Ludwig wrote:
Bjoern Hoehrmann schrieb am 25.11.2011 um 11:42 (+0100):
* john murphy uk bnpparibas com wrote:
1>LINK : warning LNK4098: defaultlib 'mfc80ud.lib' conflicts with
use of other libs; use /NODEFAULTLIB:library
1>LINK : warning LNK4098: defaultlib 'mfcs80ud.lib' conflicts with
use of other libs; use /NODEFAULTLIB:library

You are linking to MFC both dynamically and statically. You would
have to figure out why that is and then pick one or the other
linking method.

Not being a C pro, I was wondering how you know statically vs
dynamically is the issue here?

The "s" in "mfcs80ud.lib" gave it away. Also, when I ask my favourite
search engine about 'mfc80ud.lib mfcs80ud.lib', it'll point me towards
http://blogs.msdn.com/b/nikolad/archive/2005/01/28/362778.aspx which
confirms this interpretation. I typically get the "conflicts" message
when trying to link various versions of the MSVC runtime library which
is also discussed in the blog post.
-- 
Björn Höhrmann · mailto:bjoern hoehrmann de · http://bjoern.hoehrmann.de
Am Badedeich 7 · Telefon: +49(0)160/4415681 · http://www.bjoernsworld.de
25899 Dagebüll · PGP Pub. KeyID: 0xA4357E78 · http://www.websitedev.de/ 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]