Try using the part of DirectX that is actually supported and I might help. DirectDraw as it is has not been around since DirectX 7.0. It is all now called DirectGraphics and if you attempt to use DirectDraw instead of Direct3D to get things done, you are working against the API not with it.