C# and DX 8.1

Started by
4 comments, last by Vampir 21 years, 9 months ago
I''m thinking to learn C#. Are there any problems or restrictions to use DX at C#. Is C# slower than C++. Hope someone can help me.
Advertisement
Well, for starters, DirectX 8.1 support for C# and VB.NET is broken and many things don''t work right. Best bet would be to wait for DirectX 9 which will have full support for C#.NET and VB.NET. This should be out in November-ish.
You can access DirectX from C# but currently it involves creating or obtaining a 3rd party managed wrapper around the DirectX APIs you want to use.

DirectX 9 will have full native C# support if you can wait a few months.

C# is slower than C++, no doubt about it, but it is fast enough for a wide variety of games, especially if DX is doing all the heavy lifting in a hardware-accelerated fashion.
do you know some 3rd party who have wrappers.Are they free?
I haven''t used any of the existing wrappers personally (I''ve only used C# for WinForms and some GDI+, I primarily program in C++), so I can''t make any specific recommendations but I know people have been working on these for their own use and some distribute their code for free.

A quick google search turned up this site:

http://sunlightd.virtualave.net/Windows/DirectX.NET/

Which looks to be a good starting point.
Just FYI: Tim Sweeney recently started this thread on microsoft.public.dotnet.languages.csharp: http://groups.google.com/groups?hl=en&lr=&ie=UTF-8&safe=off&th=9e460068ff5d4080&seekm=ahkkeb%244kc%241%40spock.peak.org&frame=off

"The churches used to win their arguments against atheism, agnosticism, and other burning issues by burning the ismists, which is fine proof that there is a devil but hardly evidence that there is a God."
Ben Lindsey and Wainwright Evans
--AnkhSVN - A Visual Studio .NET Addin for the Subversion version control system.[Project site] [IRC channel] [Blog]

This topic is closed to new replies.

Advertisement