Stupid n00b .NET question
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...
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
[My site|SGI STL|Bjarne FAQ|C++ FAQ Lite|MSDN|Jargon]
Ripped off from various people
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
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.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement