473,388 Members | 1,375 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,388 software developers and data experts.

DirectX SDK and References: using Microsoft.DirectX

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
2 5216
"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
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Chuck Glenn | last post by:
I installed visual studio 2002 (aka 7.0) enterprise architect, then directx 9.0b. Directx acted like it was installing .net extensions, but I when I open someone else's (tested and working) code,...
4
by: Bad_Kid | last post by:
just installed, computer restarted, and now in c# when I write using System; using System.Drawing; using System.Windows.Forms; using System.IO;
6
by: ammd | last post by:
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...
3
by: Raul | last post by:
Hi everyone Wonder if anyone can please help me, have this urgent work to get done and the major problem is that I am complete noive to C Sharp & Directx 9 (SDK) which I have installed on my...
14
by: Jessica Weiner | last post by:
I am writing an application in C# which need to plot graphs and simple shapes (polygons, circles, squares etc). Which library is better for this purpose and why? Thanks.
1
by: John230873 | last post by:
I am getting this error when I try to compile The type 'Microsoft.DirectX.Direct3D.Device' exists in both 'c:\WINDOWS\Microsoft.NET\DirectX for Managed Code\2.0.0.0_x86\Microsoft.DirectX.dll' and...
3
by: Edward Mitchell | last post by:
I am converting a project that uses DirectX and worked under VS.NET 2003. Now when I convert the project to .NET 2005, there are linker errors for _Xran and _Xlen as follows: ...
5
by: Vibhesh | last post by:
I am facing problem with TimeSpan structure when DirectX is used. Following is the sample code that causes the problem: ...
2
by: Peter Webb | last post by:
Sorry, stupid newbie question. I have VS2008, and I downloaded and installed the DirectX SDK. I want to access the DirectX classes from C#, but I can't see how to make C# aware of them. ...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.