• Advertisement
Sign in to follow this  

Basic Question

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

In order to use Direct3D with DX 9 in a VB.NET application, do you have to download an external library?

Share this post


Link to post
Share on other sites
Advertisement
If "use" means develop: yes, download the SDK
If "use" means play game: yes, download redistributable

Cheers

Share this post


Link to post
Share on other sites
Thanks. Use means develop btw. If anyone has a spare moment, could you show me the statement used to import the library?

Share this post


Link to post
Share on other sites
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

Share this post


Link to post
Share on other sites
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

Share this post


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

  • Advertisement