The DirectX framework isn't really part of the .NET framework, nor is it
written to IL. It is native COM, and designed specifically for C++.
The Managed DX framework is really a wrapper for .NET languages like C# and
VB.NET to allow them access to the DirectX framework.
If you are using C++, there is no reason to use the managed wrappers, which
leads me to question the material in that book. MSDN has some good resouces
and samples for the Managed DX framework. If you download the managed DX
framework SDK, you should get the material you need.
-Rob Teixeira [MVP]
"Ron Vecchi" <rv*****@xilehdvecchi.com> wrote in message
news:OC**************@TK2MSFTNGP10.phx.gbl...
I recently picked up a Managed Direct 3d book and the examples are in c++.
I've always used C# and wonder if c++ is more suited to Direct 3D
programming. Of course I know they both access the same framework so I'm
thinking their is no difference. But, it seems all examples either on the
net or in books are always in c++, Is this because of tradition seeing
that before c#, c++ was the better alternative? Or am I safe to just convert
the code and move on with c#
--
Ron Vecchi