Question on warning LNK4098

Question on warning LNK4098

Bild des Benutzers rahzan

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.
Tim

3 Beiträge / 0 neu
Letzter Beitrag
Nähere Informationen zur Compiler-Optimierung finden Sie in unserem Optimierungshinweis.
Bild des Benutzers rahzan

Use
/libdir:noauto
on the static library's project.

Bild des Benutzers Steve Lionel (Intel)

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

Steve

Steve

Melden Sie sich an, um einen Kommentar zu hinterlassen.