Can't run DX9 on .NET 2003

RazerWriter

Active member
Joined
Jun 26, 2003
Messages
32
Whats up! I just downloaded the huge 200mb sdk and now ir wont run on my VB.NET 2003???? Stupid Microsoft! Can anyone help me here? thanks
 
1. Downloaded complete Dx9sdk
2. Installed Debug and retail versions of dx9
3. I understand that C:\WINDOWS\Microsoft.NET\Managed DirectX is where all the important files are.That folder is blank excpet for some xml files
4. Visual Studio cannot find any references to DirectX9. It seems as if it doesnt exist.

I tried to extract the files from the cabinet files, still didnt work.

Seems to me like the deadly Micrsoft strikes again, or at least they pulled a Homer on the sdk.
 
I use VS.NET 2003 with DX9 and have no problems when I add the references to the project. I simply go to the solution explorer and add the needed references.
 
well i have spent the last 5 minutes looking through each reference item - DX9 is either not installed or does not exists, which ever comes first. What reference are you using, becasue I cant find mine?
 
The DirectX references show up in the listbox of the references when I click Add Reference in soultion explorer, on my computer. I dont need to use the browse button.
Also make sure you downloaded the DX9.0a version not DX9.0.
 
You need Microsoft DirectX Libraries for .NET (Managed Librairies). Those librairies are available as part of DirectX 9 SDK in a file named mdxredist.msi. Run this or install DirectX 9 SDK and you should be able to open Visual Studio projects that use managed DirectX.
 
ive had that same problem...

try downloading the SDK Developer Runtime for directx9.0a...

ive set made a custom Visual Studio setup project which (at least on the machines ive tested - winxp/2003) installs managed directx. since NONE of the executables from microsoft installed it - except for the developer runtime.

you can try my setup here
My Managed DirectX Setup (1.1Mb)
(just install it on the same directory which it is... it installs the assemblies to the GAC)

or microsofts developer runtime download.
DirectX 9.0a Developer Runtime (86Mb)
 
Co2: that file you mentioned doesnt seem to install on some machines for some weird reason. on all of my windows xp / 2003 machines, it wouldnt even run... itd open and leave. maybe this is the problem that RazerWriter is having.

(sorry for the double post. Co2 posted while i was writing my other post)
 
When I ran mdxredist.msi, it didnt display any messages. It was just a commun windows installer dialog with a progress bar. It was like a silent installation.

I think it still installs the required librairies.
 
I had this same problem yesterday

I had run into this same dilemma yesterday and after much trouble, finally got directx 9 to work in VB.Net. After I noticed this problem, I uninstalled DirectX 9 SDK, ran windows update to make sure everything was up-to-date (I recently rebuilt my machine and had not updated windows yet). I then rebooted my computer, logged in as Administrator and installed the DirectX 9.0a SDK. After this, everything worked properly. Im not sure which of these 3 steps fixed the problem, though Im wondering if it was making sure I was logged in as Administrator before installing the SDK. The documentation mentions this specifically as necessary for proper installation.
 
It worked fine after I installed the DirectX 9.0a Developer Runtime. Although, I had to manually extract the dlls to the directories.
 
Back
Top