wyatt
wyatt

Reputation: 3246

VC++ 2010 exclude library

A project I'm building is attempting to include a library, but for the life of me I can't find out the call to include it is coming from. It's trying to include atlthunk.lib, which is supposed to be included through a #pragma comment in atlbase.h, but there's no such comment in my atlbase.h.

I read about someone else who had this problem, but circumvented it by "excluding the lib forcefully". I realise this isn't a stable solution, but could someone tell me how one goes about forcefully excluding a library?

Upvotes: 1

Views: 1302

Answers (1)

Michael Goldshteyn
Michael Goldshteyn

Reputation: 74440

It's a project setting under

Linker/Input - Ignore Specific Default Libraries

Put the library to ignore there.

Here is a screenshot to help you along:

alt text

Upvotes: 2

Related Questions