By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
445,924 Members | 1,841 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 445,924 IT Pros & Developers. It's quick & easy.

DirectX SDK and References: using Microsoft.DirectX

P: n/a
I want to create objects using directX. I downloaded SDK version of
DirectX. I've installed it.

Which is the right dll to add to references?
I can't find it.
thanks
--
-Diego (Atos)-
-L'uomo superiore agli animali-
-Fanno eccezione il nano e la giraffa-
-A.Bergonzoni-
-Per rispondere in privato potare "POTA" dall'indirizzo-
Nov 16 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
"Diego_Atos" <di********@POTAbigfoot.com> wrote in message
news:MP************************@news.tin.it...
I want to create objects using directX. I downloaded SDK version of
DirectX. I've installed it.

Which is the right dll to add to references?
I can't find it.


The DLLs begin Micrsooft.DirectX, eg. Microsoft.DirectX.dll and
Microsoft.DirectX.DirectDraw.dll.

Installing the latest DirectX SDK should fix it. If all else fails, here's a
hack:

- Check that the Microsoft.DirectX assemblies are in the GAC (Control
Panel - Administrative Tools - Framework Configuration - Manaage Assembly
Cache - View list of Assemblies

- If not, re-run the runtime setup.

- If they are, open up a command prompt. Create a folder, say c:\ManagedDX.
Switch to that folder, then type:

xcopy c:\windows\assembly\gac\microsoft.directx.* /s

where c:\windows is your Windows install dir. Now you can browse to this
folder in the Visual Studio Add Reference dialog and pick up the references
you need.

If you use this technique, bear in mind that your copied assemblies won't
get updated by Framework updates. Treat it as as temporary measure; the
references ought to show up in the Add Reference dialog anyway (but for some
reason they sometimes do not).

Tim
10 reasons to look at SharpDevelop:
http://www.itwriting.com/blog/?postid=87
Nov 16 '05 #2

P: n/a
Risposta a:
Tim Anderson (ti*****@hotmail.com)
_________________

- If they are, open up a command prompt. Create a folder, say c:\ManagedDX.
Switch to that folder, then type:


ok. i've done it.

Thanks.
--
-Diego (Atos)-
-L'uomo superiore agli animali-
-Fanno eccezione il nano e la giraffa-
-A.Bergonzoni-
-Per rispondere in privato potare "POTA" dall'indirizzo-
Nov 16 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.