Cannot find Microsoft.DirectX

Enknown

Newcomer
Joined
Apr 30, 2003
Messages
4
Location
Sweden
I get this error when I open the VB Samples from the DX9 SDK:
"Namespace or type 'DirectX' for the Imports 'Microsoft.DirectX' cannot be found."
Ive tried installing DX9 SDK VB.NET and the Full SDK with same error...

Anyone know what could be wrong?

Oh btw, It did work for some time ago but after i have reformated my comp it wont work now.
 
Oh nevermind
"mikcey" got it!

there is an easy solution, extract C:\DXSDK\SDKDev\Retail\dxnt.cab with winzip

and copy the microsoft.directx.*.dll 's to

C:\WINDOWS\Microsoft.NET\Managed DirectX\v4.09.00.0900

add the .dll references u need in your C# project manualy

works fine even with directx9.0a installed

happy coding!

My hero for the day is "mikcey"!
 
Yes - saved me from reformatting my whole comp. I had actually considered doing that...madness...
 
Back
Top