473,890 Members | 1,505 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

DirectX question: how resolve: using Microsoft.Direc tX;

I instaled the DirectX on my XP machine, but cannot
resolve :
using Microsoft.Direc tX;
What should I do to get it in the visual studio?
Thanks
Nov 15 '05 #1
1 1428
dave wrote:
I instaled the DirectX on my XP machine, but cannot
resolve :
using Microsoft.Direc tX;
What should I do to get it in the visual studio?


You need to have installed the DirectX SDK not the runtime update.

Then, add the reference for Microsoft.Direc tX to your project. On VS
..NET it will be under Project->Add Reference.

Nov 15 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
4346
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;
3
2012
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'
4
9112
by: Junaid Hussain | last post by:
Hi, I am thinking about developing a 3D pool game in C# using DirectX, however when I compile a C# at the command prompt using; csc PoolGame.cs , I get the following error message; The type or namespace name 'DirectX' does not exist in the class or namespace 'Microsoft' (are you missing an assembly reference?) Im not sure why it says this because I have DirectX 9.0 installed ??
2
3562
by: Lee Swanson | last post by:
Hi, I am trying to run a Direct3D tutorial, namely "hello teapot": http://www.gotdotnet.com/team/directx/learn/tutorials/helloteapot.aspx Unfortunately I am getting the following error when I try to run the exe or debug: <exception>
0
1224
by: wraith | last post by:
Hi to all, I would just like to ask a simple question... Could Managed DirectX 9 (SDK Summer 2004) be used in MVC++ 2003? I ask this question coz, I get an error when using Managed DirectX in MVC++. My routine is very basic, I tend to create a device object using managed directX and im getting a compiler error: error C3635: 'Microsoft.DirectX.PrivateImplementationDetails::IDirect3DDevice9': undefined
1
2703
by: Kav | last post by:
Hello, I apologize in advance for my “Greenness” . I posted a question a couple weeks ago asking how I could render a DIB frame a custom decoder from unmanaged code to a c# window using DirectX – i.e. I would like to get an overlay surface from c# and write my frame to the surface then render it. From what I’ve now found out, this isn’t an easy task. It sounded simple enough but after looking at DirectX 9, only later to...
14
2669
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.
2
3093
by: untitled | last post by:
i included the following line to VC++ after i installed the directx SDK and platform SDK. #include "DShow.h" i configured c directories for the include and lib to both directx SDX and platform SDK. now just after i added the above line i got this messages: D:\Program\Microsoft DirectX SDK (April 2007)\Include\strsafe.h(221) : error C3641: 'StringCchCopyA' : invalid calling convention '__stdcall
2
2086
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
9978
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, well explore What is ONU, What Is Router, ONU & Routers main usage, and What is the difference between ONU and Router. Lets take a closer look ! Part I. Meaning of...
0
11232
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10819
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
10923
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
9633
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 projectplanning, coding, testing, and deploymentwithout 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
8016
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
7169
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
6045
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
3
3277
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.