   [MDX]: DirectX service
  Is it possible to create a DirectX device without a device window handle?  What I want to do is have a device that always renders to a texture, never to a Control.The code below does not work.PresentParameters presentParameters = new PresentParameters();presentParameters.SwapEffect = SwapEffect.Discard;presentParameters.IsWindowed = true;try{    _device = new Device(0, DeviceType.Hardware, IntPtr.Zero,CreateFlags.SoftwareVertexProcessing,presentParameters);}catch (DirectXException){} Thanks!   
  Create it using the handle to a hidden window/form/control with a 1x1 back buffer. Then create the render-targets and depth-stencil surfaces you want and use them.   ;  Nope, I don't think you can do that. Direct3D does more than just write to the window's output - it also "watches" the messages the window gets so that it can keep track of whats going on.What you might be able to do is point it at a dummy window that is never visible, or possibly at a normal window but never presented/drawn to...hthJack   ;  Sounds like I will create a hidden, never visible window, Thanks   ;  Just as a side node for future reference:Direct3D 10 will support headless devices.  