Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

why vc alwayys links kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib

0 views
Skip to first unread message

Ingo Nolden

unread,
Jul 19, 2004, 12:52:12 PM7/19/04
to

I wonder why the linker is always searching these libraries, and where I
can switch that off.

I can imagine why kernel32 is linked, but what do I need gdi for in a dos
app and odbc and so on?

cheers
Ingo

Tarek Madkour [MSFT]

unread,
Jul 19, 2004, 4:47:30 PM7/19/04
to
Ingo Nolden <ingo.n...@Mrecurdyn.org> wrote in
news:opsbd85a...@news.microsoft.com:

You're building using the IDE, right?

If so, by default the build system links in some libraries needed for
win32 development. If you wish to disable this behavior, you need to
specify "$(NoInherit)" in the additional libraries linker property for
your project.

Thanks,
--
Tarek Madkour, Visual C++ Team
This posting is provided "AS IS" with no warranties, and confers
no rights.

0 new messages