Installed Microsoft DirectX 9.0 SDK (Summer 2004) but can't refere

G

Guest

Hi, I installed Microsoft DirectX 9.0 SDK (Summer 2004) but when I create a project and try to add the necessary references I can't find them. Does anybody know where to look for them? BTW, I have VS 2002. Don't know if there's an incompatibility issue. Thanks.
 
G

Guest

I installed the .NET Framework Redistributable Package version 1.1 AND the .NET Framework SDK Version 1.1. After that I remove the DirectX SDK and reinstalled it. I still can't figure out how to add the needed references. Thanks.
 
F

Fred Mellender

project/add reference

Then find in the list presented:

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

and add one or all of these references to your project.

The source code should contain:

using Microsoft.DirectX;
using Microsoft.DirectX.Direct3D;

I have been developing with Managed DirectX and both MS VS 2003 and C#
Express without
(too many) problems.

A pretty good book: Managed DirectX9 by Tom Miller.



Adrian said:
I installed the .NET Framework Redistributable Package version 1.1 AND
the .NET Framework SDK Version 1.1. After that I remove the DirectX SDK and
reinstalled it. I still can't figure out how to add the needed references.
Thanks.
 
F

Fred Mellender

Did you select the .Net tab in the Add Reference window? That is where I
find it.

If you cannot find it, you can browse (browse button in Add Reference
window) to find the dll.

In my installation, I find Microsoft.DirectX.Direct3D.dll in
C:\Windows\Microsoft.Net\ManagedDirectX\
v9.00.0900

You can use the MS/XP search to search on "directx" to find where the dll is
installed. Then use the
browse button in the Add Reference/.Net to add the reference once you found
it. You may also
need the Direct3DX.dll depending on what you are doing in Direct3d


Adrian said:
That's exactly what I'm doing (project/add reference), but I can't find
Microsoft.DirectX in the list (.NET).
 
G

Guest

Found the dlls in C:\Windows\Microsoft.Net\ManagedDirectX\v9.02.2904. Still, they are not showing up under the .NET tab, so I think there's something wrong with my installation. Anyway, I can keep working this way. Thanks for your help!!!
 
G

Guest

I'm having the same problem Ammd. While I went ahead using the Browse button
to locate the referenced files, they never showed up under the .NET tab. I'm
also using VS 2002. Even after including these references into my project,
that wasn't the end of my problems. Can you effectively work with DirectX 9
within the VS 2002 IDE? Do I have to purchase VS 2003 to fix this issue?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top