Jump to content
  • Advertisement

Archived

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

Paladin__

Linking DirectX libs in .NET?

This topic is 5747 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

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
Advertisement
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

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!