Jump to content
  • Advertisement
Sign in to follow this  
Wolf_Attack

How Can I Start DirectX 9.0 In VB.NET ?!!

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

Advertisement
Thanks '_Sigma' for that very simple file
but I've more and more examples for all levels

The problem is that DirectX Lib doesn't appear to me in the references window
that's mean the following classes still hide:

Microsoft.DirectX
Microsoft.DirectX.Direct3D
Microsoft.DirectX.Direct3DX

and then I can't run any applications

I think there're more instructions needed

I need your help

thanks

Share this post


Link to post
Share on other sites
Looking at you above posts, you are using the Microsoft DirectX sdk(2004) system, from memory there was an error in that sdk when it linked into the VS 2003 IDE and the managed Classes did not regester correctly. To fix it you had to register it manually.
My suggestion would be to Download the latest SDK from MS, as this system works fine. Also as there have been heaps of changes in the Libs since the 2004 release.

Share this post


Link to post
Share on other sites
All you have to do to get it working is the following:

Go to Project -> Add Reference, and then find the parts of directx that you want to use and put them into your project. Be carefull if you have multiple versions of the sdk installed, to pick only the particular version that you want to use.

Then for convience's sake, you might want to add the following 3 imports to your source files:
Imports Microsoft.DirectX
Imports Microsoft.DirectX.Direct3D
Imports Microsoft.DirectX.Direct3D.D3DX

I'm not positive on this, but you might need the regular directx 9.0c sdk (not one of the later updates) but don't take my word on that. But, if you are just starting out on your project, you might want to download the August sdk, might as well use the absolute newest version.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • 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!