project/add reference
Then find in the list presented:
MIcrosoft.DirectX
Microsoft.DirectX.Direct3D
Microsoft.DirectX.Direct3DX
and add one or all of these references to your project.
The source code should contain:
using Microsoft.DirectX;
using Microsoft.DirectX.Direct3D;
I have been developing with Managed DirectX and both MS VS 2003 and C#
Express without
(too many) problems.
A pretty good book: Managed DirectX9 by Tom Miller.
Adrian said:
I installed the .NET Framework Redistributable Package version 1.1 AND
the .NET Framework SDK Version 1.1. After that I remove the DirectX SDK and
reinstalled it. I still can't figure out how to add the needed references.
Thanks.