tags:

views:

30

answers:

1

Hello ! I've installed .net 4.0 as well as XNA 4.0 . A while ago i used Microsoft.DirectX to play some music and now when i try to redo the work, i can't find the reference . Did the new changes on the platform modify or moved something in the references ?

Regards, Alexandru Badescu

+1  A: 

Visual Studio 2010:

right click on project

Menu select "Add reference..."

select tab "Browse"

select directory "C:\windows\assembly\ GAC\Microsoft.DirectX.AudioVideoPlayback

The DLL to reference is in that folder.

Robert Harvey
ah thanks! i forgot it was there. btw should i use directx or ,as another poster said , xna?
Badescu Alexandru
XNA is newer. :) But if your application already works with DirectX, this solves your immediate problem.
Robert Harvey
See here for a comparison: http://stackoverflow.com/questions/514872/comparison-between-xna-and-directx-c
Robert Harvey
thank you for the link robert!
Badescu Alexandru