C# and DirectX

N

nsgi_2004

I want to use C# for 3D tool development to take advantage of its superior
gui library. I have tried out some stuff in managed dx, but still I do not
want to be writing the same code twice in different languages. (I.e., I
don't want to write a particle system editor in C# and MDX, only to rewrite
the particle system code in C++ for the game.) Maintaince would be a pain.

I have read that one of the nice things of .NET is you can interface between
different languages. So my question is, will it be fairly straightforward
to call C++ Direct3D (which is COM) code from a C# application? Has anyone
done this? I
just want to make sure this is possible before I invest some time in
learning how to interface between different languages in .NET.

Thanks in advance.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top