Archived

This topic is now archived and is closed to further replies.

Stupid n00b .NET question

This topic is 5305 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hi, As the title says, this is a n00b question. How do I add a library, namely dxguid.lib ddraw.lib dinput.lib, in Visual Studio .NET??? BattleGuard Whenever I try to find a better signature than this... Well, I can''t... This is it, Sorry...

Share this post


Link to post
Share on other sites
There might be an easier way than this, but...

1) right click on the name of your project in the "solutions
explorer"
2) select the properties tab
3) select Linker->Input tab
4) in the additional dependencies field type the names of the
libraries you want to add.

You might also need to add the directory they''re in using
Tools->Options->Projects->Visual C++ Directories->library Files

Share this post


Link to post
Share on other sites
Simply right-click any folder in your solution file browser (or something like that) and choose insert existing file, then browse to the lib and select it. Now you have the lib in your solution. You must however still link to it in your code I think.. I use #pragmas.

Share this post


Link to post
Share on other sites