Advertisement

Loading libs in VS.NET

Started by September 25, 2002 09:54 AM
0 comments, last by sobriquet 22 years, 5 months ago
In the early NeHe OpenGL tutorials, we learn how to set up the libraries for use in projects, which, in Visual Studio 6 is handy enough. Anyone know how to do this in Visual Studio.NET? I''ve yet to find anything much like the way in VS6 in the .NET IDE. Much Appreciated.
The probably best way to do it is to write this line:

#pragma comment(lib, "lib_you_want_added.lib"

right above your #include''s (although it can be places almost anywhere I believe)

but, if you rather want to do it the other way here is how to:

in your solution tree, right click your project name -> Properties -> Linker -> Input -> Additional Dependencies and just write ''em in.

This topic is closed to new replies.

Advertisement