• Advertisement

Archived

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

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

This topic is 5773 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

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
Advertisement
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
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

  • Advertisement