Stupid n00b .NET question

Started by
3 comments, last by BattleGuard 20 years, 10 months ago
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...
Advertisement
I don''t have .NET, but surely looking through the documentation can''t be any more difficult that asking here?


[My site|SGI STL|Bjarne FAQ|C++ FAQ Lite|MSDN|Jargon]
Ripped off from various people
[size=2]
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

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.
________________________________pro.gram.mer - an organism that turns caffeine into code
whoa thats nifty. I had been wonderin bout that for some time. .NET sucks!

-dtekfoo

This topic is closed to new replies.

Advertisement