Cannot find Microsoft.DirectX

Enknown

New member
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...
 

Similar threads

M
Replies
0
Views
295
mertozturk
M
P
Replies
0
Views
186
Peadar O'Colmain
P
S
Replies
0
Views
181
steloshow
S
M
Replies
0
Views
207
MosheS Singer
M
Back
Top