'CreateDevice' tutorial with MD3D9

Topics: User Forum
Oct 12, 2007 at 7:54 AM
Hello,

First I would like to thank you for now including a managed wrapper on D3D9.
Since MS discontinued its work on Managed DirectX, your library is now the best way to interface with D3D{9|10} from the managed world.

I tried to apply D3D9's first tutorial, 'CreateDevice', but I am having a strange result.
This tutorial should just Clear the surface with blue, but my WinForms' client area gets black. I mean, it really gets black and does not stay standard gray, which means that D3D has done something, but not what is expected.
By the way, when executing the native tutorial, it executes normally.

Any hint ? Thank you very much !

Thomas
Oct 15, 2007 at 5:51 PM
I've found a solution : I now use SlimDX (http://slimdx.mdxinfo.com) and it works fine !