Question on warning LNK4098

Question on warning LNK4098

I am getting the following warning on linking a static library (which works well with console apps) into a (inprocess) com-dll.

warning LNK4098: defaultlib "libc.lib" conflicts with use of other libs; use /NODEFAULTLIB:library

I have asked this before and the answer has been that the run-time libraries used are not matching.
1. Where can I find these run-time libraries among the project settings?
2. What libraries should I use so that this library is not so darn picky about what type of application is calling it? Or is it not possible?

Thanks in adv.

3 posts / 0 new
Last post
For more complete information about compiler optimizations, see our Optimization Notice.

on the static library's project.

You probably want to start with Do you Suffer from the Heartbreak of MCLS?


Retired 12/31/2016

Leave a Comment

Please sign in to add a comment. Not a member? Join today