[Mono-dev] Managed DirectX

Brian Crowell mono-devel at fluggo.com
Wed Oct 25 13:38:59 EDT 2006

Richard Matthias wrote:
> It's worth mentioning that Microsoft's Managed DirectX doesn't use COM
> interop. They have a library with a simpler C interface that talks to
> the kernel portion of DirectX that the drivers plug into and the MDX
> library uses that - it's almost completely seperate from the DirectX
> that C++ developers use.

Er... no. I have Managed DirectX installed, and I can find, through ILDASM, pretty much the exact same IL sequence I posted earlier, pointer arithmetic and all. They use hand-written marshaling to the COM interfaces, not to the kernel.

In fact, here's the document where they say they did it:



More information about the Mono-devel-list mailing list