Basic Question

Started by
4 comments, last by gamechampionx 18 years, 10 months ago
In order to use Direct3D with DX 9 in a VB.NET application, do you have to download an external library?
Check out Drunken Brawl at http://www.angelfire.com/games6/drunken_brawl!
Advertisement
If "use" means develop: yes, download the SDK
If "use" means play game: yes, download redistributable

Cheers
Thanks. Use means develop btw. If anyone has a spare moment, could you show me the statement used to import the library?
Check out Drunken Brawl at http://www.angelfire.com/games6/drunken_brawl!
First set a project reference to the assembly (right click the project) e.g.: Microsoft.DirectX.dll

Then you can type the following statement in your VB-code:

Imports Microsoft.DirectX

Cheers
Quote:Original post by gamechampionx
Thanks. Use means develop btw. If anyone has a spare moment, could you show me the statement used to import the library?

If you've downloaded the SDK, then make sure you take a look at the samples for VB.Net - they're a great reference source.

I'm at work right now, so can't double-check - but if the VB.Net samples are at all similar to the C++ ones, you should have 5 or 6 "tutorial" samples. Make these your first stop as they're usually very clear, concise and will help you get your head around the basic config/setup stages.

hth
Jack

<hr align="left" width="25%" />
Jack Hoxley <small>[</small><small> Forum FAQ | Revised FAQ | MVP Profile | Developer Journal ]</small>

OK, thanks. That pretty much settles everything.
Check out Drunken Brawl at http://www.angelfire.com/games6/drunken_brawl!

This topic is closed to new replies.

Advertisement