After installing the 9.0b SDK and attempting to use the Microsoft.DirectX namespace in C#, I get a compile error "The type or namespace name 'DirectX' does not exist in the class or namespace 'Microsoft' (are you missing an assembly reference?)"
I have looked through the documentation (as it is) to try to find out if I need to add a reference, but I have found no further info and do not know how to proceed.
<theairdogg@discussions.microsoft.com> wrote:
Yes, you need to add a reference: in the Project View click right on References/Add Reference..., go to the .NET tab. If the DirectX DLLs are here, select those you want to use (you should take the ones versioned "1.0.1901.0"), finished. If they aren't, click Browse..., navigate to your
WINDOWS\Microsoft.NET\Managed DirectX folder, select the right version folder (v9.00.1126 is the right one, unless you have a good reason to use the older one) and, again, select those DLLs you want to use.
If you only have old DirectX DLLs on your system (1.0.0900.0 and v.00.0900), you installed an old version of the 9.0b SDK and you should get the so-called Summer 2003 Update instead.
... Correct me if I'm wrong, but according to this, the original DirectX 9.0b SDK had a slight problem, in so much as that it doesn't actually work with C#.
Oh! Well, nothing too dramatic, after all. gg, MS.
Great Moments in Microsoft History
Moderators: AArdvark, Ice Cream Jonsey
- Ice Cream Jonsey
- Posts: 30069
- Joined: Sat Apr 27, 2002 2:44 pm
- Location: Colorado
- Contact:
Great Moments in Microsoft History
the dark and gritty...Ice Cream Jonsey!
- Knuckles the CLown
- Posts: 1164
- Joined: Fri Jan 30, 2004 2:46 pm
- Location: Shaker Heights, OH
That was very interes-zzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz
zzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz
zzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz
zzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz...
zzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz
zzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz
zzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz...
the last group complained, quite tellingly They said, "Why don't you have a spoon that just says 'Earth?' It would save time
-
- Posts: 604
- Joined: Wed May 01, 2002 10:54 am
- Location: Hiding in the workshop