DX9 gone crazy

-ZiM-
12-26-2003, 04:17 AM
I am using VB.NET to create a game on DX9. When I started the project everything was good, but from some point weird things started to hapen. First of all I can't see the DirectX references from Add reference dialog. I have to browse for them c:\windows\microsoft.net\managed directx\. I have 2 directories there with diferent versions: v9.00.0900 and v9.00.1126. The 1126 will throw many errors and doesen't work at all. The 0900 version works fine, but in direct input the mouse dosen't work (action mapping). So i checked the ActionMapping sample wich came with the SDK and the mouse doesen't work there too.

I have already uninstalled and reinstalled the newest SDK, but it doesen't make any difference.

Any ideas ?

JimCamel
12-26-2003, 04:39 PM
I know I had some problems when trying to get DX9 working with VB.Net. I found a site which told me how to do it.

Unfortunately I can't find the site again, but I'm pretty sure this is how it said to do it.

Open up a command line (by using start-> run, type in CMD and click ok)
cd to c:\windows\assembly\GAC
CD into one of the Microsoft.DirectX folders
CD into it's version number folder
Copy the .dll file into c:\ or somewhere (to make it easier for later).
Do this for all the Microsoft.DirectX folders until you have all the DLL's
Copy all these dll's (using Windows Explorer is easiest) into your VS .Net 2003\Common7\IDE\PublicAssemblies folder

Then when you open up VS.Net you should be able to add references to DX9.

Good luck!

StUnT10011
06-22-2004, 03:07 PM
im amazed, it worked, but that took on hell of a long time, thanks man (lol, i know this post is ancient by now)

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum