Archived

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

Paladin__

Linking DirectX libs in .NET?

Recommended Posts

I know in VC++ 6, I set my include and lib directories, then add the appropriate lib files in Project -> Settings -> Link tab. How is this done in VC++ .NET? I think I found where to add the include and lib directories, but I can''t figure out how to add d3d8.lib, etc to my projects. Any ideas on how it works now? Thanks. Much greatness is achieved thru perseverance and faith.

Share this post


Link to post
Share on other sites
Right click on project->Properties->Linker->Input->Additional Dependencies.



Faith. n. Belief without evidence in what is told by one who speaks without knowledge, of things without parallel. -- Ambrose Bierce

Share this post


Link to post
Share on other sites
or like this


  #pragma comment(lib, "d3d8.lib")
#pragma comment(lib, "d3dx8.lib")
#pragma comment(lib, "dinput8.lib")
#pragma comment(lib, "dxguid.lib")

Share this post


Link to post
Share on other sites