Archived

This topic is now archived and is closed to further replies.

NHJ

C# and directx...do they coop....

Recommended Posts

NHJ    122
Well my question is quite simpel: Is it possible to use directx from C# as used in c++, or VB? Thanks //NHJ

Share this post


Link to post
Share on other sites
Arild Fines    968
I''m starting to think this question belongs in a FAQ(hint hint). Yes, there are two ways: Either use the existing VB typelibraries or write a wrapper in Managed C++ and expose it to C#. You can see an example of the last approach here: http://sunlightd.virtualave.net/Windows/DirectX.NET/
DirectX 9 will contain a set of Managed wrappers to make this process simpler.
Of course, there''s always OpenGL

Share this post


Link to post
Share on other sites
NHJ    122
I think I''ll use the VB type lib''s... my skills in c++ could be better.... to say the least...
Already looking foreward to dx9... just hope they won''t change it as much as they changed dx7 - dx8 (though I''ll admit they did a good job, doing it)


thanks !

Share this post


Link to post
Share on other sites