473,714 Members | 2,545 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

DirectX SDK and References: using Microsoft.Direc tX

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 5254
"Diego_Atos " <di********@POT Abigfoot.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.Direc tX, eg. Microsoft.Direc tX.dll and
Microsoft.Direc tX.DirectDraw.d ll.

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

- Check that the Microsoft.Direc tX 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\asse mbly\gac\micros oft.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*****@hotmai l.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
2443
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, I vs tells me that all the Microsoft.Directx namespaces were not recognized. Does this have anything to do with the fact that vs was also unable to update itself? I installed from year-old MSDN cds. HELP!
4
4342
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
7139
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 2002. Don't know if there's an incompatibility issue. Thanks.
3
2008
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 home PC, but everytime I try run a example I get the following error messages in Visual Studio.Net:- The referenced component 'Microsoft.DirectX.Direct3D'
14
2653
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
1556
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 'c:\WINDOWS\Microsoft.NET\DirectX for Managed Code\1.0.2902.0\Microsoft.DirectX.Direct3D.dll' C:\Documents and Settings\johnw\My Documents\Visual Studio 2005\Projects\example\example\example.cs This a a new application with only a couple of...
3
4860
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: dx9.lib(WinConsole.obj) : error LNK2019: unresolved external symbol "public: void __thiscall std::_String_base::_Xran(void)const " ... .... dx9.lib(WinConsole.obj) : error LNK2019: unresolved external symbol "public: void __thiscall...
5
2004
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: *************************************************************************************************************** { ........................... PrintTimeSpanProblem(); device = new Device(0, DeviceType.Hardware, this, CreateFlags.SoftwareVertexProcessing, presentParams); PrintTimeSpanProblem();
2
2082
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. using Microsoft.DirectX.Direct3DX; says the namespace doesn't exist.
0
8795
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9168
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
9068
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9009
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7942
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6621
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5943
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4462
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
3
2103
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.