I am writing a DLL for a C++ DX program that passes me a pointer to the ID3D10Device before calling endScene(). I Would like to use C#, and I assume there is a lot of similarity between the two. Would it be possible to write the DLL in C#, and still the C++ ID3D10Device? I know its a longshot, and sorry if this is a dumb question. Thanks!