Microsoft.DirectX missing from Add Reference dialog

  • Thread starter Thread starter Dr Paul A Daniels
  • Start date Start date
D

Dr Paul A Daniels

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
 
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/subscriptions/downloads/default.asp. Please refer
to the following article for detailed information:

Purchasing Options
http://msdn.microsoft.com/vstudio/howtobuy/purchasing/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.
 
-----Original Message-----
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/subscriptions/downloads/default ..asp. Please refer
to the following article for detailed information:

Purchasing Options
http://msdn.microsoft.com/vstudio/howtobuy/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 the
following newsgroup:
Microsoft.public.win32.programmer.directx.sdk
Microsoft.public.win32.programmer.directx.managed

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

Cheers

Paul
 
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
 
Hi Paul,

You are welcome. ;-)
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.

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\.NETFramework\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.
 
Back
Top