Archived

This topic is now archived and is closed to further replies.

Lord Hen

C# DX9...in MSV.Net 2003

Recommended Posts

Lord Hen    122
Ok, Im using C#.Net in MVS.Net 2003....I installed the dx9 sdk last night... Argh...How can I add a reference to directx9 from C#? Its not in the components list... If anyone has a tutorial or something on how to do this, I would greatly appreciate it =) Thanks in advance, Lord Hen

Share this post


Link to post
Share on other sites
Arild Fines    968
Check the %windir%\Microsoft.NET\Managed DirectX\v4.09.00.0900 directory. The assemblies you need to reference should be there. If they''re not, and there''s only xml files there, you can copy them out of the GAC manually. I recommend you to set up a mapped drive to point to the GAC, to avoid the shell extension that protects the GAC. You can do that by going to a command prompt and typing subst S: C:\winnt\assembly. The GAC should then be available from the S drive in Windows Explorer.



AnkhSVN - A Visual Studio .NET Addin for the Subversion version control system.

Share this post


Link to post
Share on other sites
Arild Fines    968
If you want those assemblies to appear in the Add References dialog, you can copy the registry script below into a text file, edit the path(if necessary), save it as .reg and run it:


Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\.NETFramework\AssemblyFolders\DirectX]
@="C:\\WINNT\\Microsoft.NET\\Managed DirectX\\v4.09.00.0900"




AnkhSVN - A Visual Studio .NET Addin for the Subversion version control system.

Share this post


Link to post
Share on other sites