469,133 Members | 1,179 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,133 developers. It's quick & easy.

Microsoft.DirectX missing from Add Reference dialog

I've got Visual Studio 7.0.9466 and have installed the
Framework 1.1 and its SDK and DirectX 9.0 (Summer 2003
release) SDK. OS is Windows XP Pro. I'm logged on with
Administrator rights.

I can't open the DirectX Summer release sample Direct3D
tutorial solutions as I get an error saying that my VS
version is too early. However, if I do a check for
updates to VS, it says I'm up-to-date! I can open the
tutorials from an earlier DirectX SDK release though.

The next problem is that the tutorials require a
reference to Microsoft.DirectX,
Microsoft.DirectX.Direct3D (and sometimes ...3DX) but,
even though they show in my C:\Windows\Assembly folder
they don't appear in either the .NET or COM tabs of the
Add Reference dialog and I can't select the
C:\Windows\Assembly entry by browsing to it.

Can I download a later version of VS? Also, how do I
select a reference to the DirectX assemblies?

I've already uninstalled an re-installed parts of the
Framework, VS, DirectX SDK etc. in various permutations
but to no avail.

Anyone help please?

Cheers

Paul
Jul 21 '05 #1
4 9956
Hello Paul,

Thanks for your post.

The reason why it fails to open some DirectX samples in VS .NET 2002 is
that they are created with VS .NET 2003. If you are a MSDN Subscriber, you
can download Visual Studio .NET 2003 from MSDN Subscriber Downloads at
http://msdn.microsoft.com/subscripti...ds/default.asp. Please refer
to the following article for detailed information:

Purchasing Options
http://msdn.microsoft.com/vstudio/ho...g/default.aspx

Could you use DirectX 9 Wizard to create DirectX projects?

BTW, in the future, it would be best to post these questions in the
following newsgroup:
Microsoft.public.win32.programmer.directx.sdk
Microsoft.public.win32.programmer.directx.managed

Please feel free to let me know if you have any problems or concerns.

Have a nice day!

Regards,

HuangTM
Microsoft Online Partner Support
MCSE/MCSD

Get Secure! -- www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.

Jul 21 '05 #2
-----Original Message-----
Hello Paul,

Thanks for your post.

The reason why it fails to open some DirectX samples in VS .NET 2002 isthat they are created with VS .NET 2003. If you are a MSDN Subscriber, youcan download Visual Studio .NET 2003 from MSDN Subscriber Downloads athttp://msdn.microsoft.com/subscripti...nloads/default ..asp. Please referto the following article for detailed information:

Purchasing Options
http://msdn.microsoft.com/vstudio/ho...purchasing/def ault.aspx

I am an MSDN subscriber but which level of subscription
do I need to get VS? I downgraded to the OS/Library-only
subscription at the start of this year (cost reasons);
the VS I have is from last year's disks. I'm not keen to
get into the Passport scheme do I *absolutely have* to
use Passport as the only way to download VS .NET 2003 or
can I apply to MS (subscription level permitting) to get
VS .NET 2003 on disk?
Could you use DirectX 9 Wizard to create DirectX projects?

I haven't tried that yet - I wanted to get the tutorials
working first before I started creating my own.
BTW, in the future, it would be best to post these questions in thefollowing newsgroup:
Microsoft.public.win32.programmer.directx.sdk
Microsoft.public.win32.programmer.directx.manag ed


Thanks, I'm new to the forum and didn't spot them.

Cheers

Paul
Jul 21 '05 #3
Oops...

I posted the reply above without saying thanks for your
response - sorry about the rudeness of my slip-up...

Many thanks for your help - it's very much appreciated.

Cheers

Paul
Jul 21 '05 #4
Hi Paul,

You are welcome. ;-)
I'm not keen to get into the Passport scheme do I *absolutely have* to use Passport as the only way to download VS .NET 2003 or can I apply to MS
(subscription level permitting) to get VS .NET 2003 on disk?

I think the best group to refer this question is the Customer Service
group. Please refer to
<http://msdn.microsoft.com/subscriptions/resources/phonelist.asp>. As
stated there, to speak to a customer service representative for general
questions like the one you have now, you can call the MSDN Customer Service
Center at (800) 759-5474 department A622WEB. You can also call from outside
the United States using, (925) 275-0763.
how do I select a reference to the DirectX assemblies?


I'd like to perform the following steps:

1. Please make sure you have installed the DirectX debug runtime.

2. Go to the directory <Windows>\Microsoft.NET\Managed
DirectX\v4.09.00.1126\, and use the gacutil /i command to install each one
of the dll's into the GAC.

3. Create a registry entry DirectX with a key value that is the path to the
folder containing the dll's under the
HKEY_LOCAL_MACHINE\Software\Microsoft\.NETFramewor k\Assembly Folders.

Hope this helps.

Regards,

HuangTM
Microsoft Online Partner Support
MCSE/MCSD

Get Secure! -- www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.

Jul 21 '05 #5

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

1 post views Thread by Chuck Glenn | last post: by
3 posts views Thread by David T. | last post: by
4 posts views Thread by Dr Paul A Daniels | last post: by
1 post views Thread by CARIGAR | last post: by
reply views Thread by zhoujie | last post: by
1 post views Thread by Mortomer39 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.