Yes.  You can initialize the Direct3D device using D3D11CreateDevice, which requires no window.  You simply do not create a swap chain at all.  You can still create offscreen render targets and draw to them in the usual way.  Instead of calling Present on the swap chain, you can call ID3D11DeviceContext::Flush to kick the GPU with the work you've queued up.

If you later want to create a window, you can destroy the device and recreate it with D3D11CreateDeviceAndSwapChain, or you can create a swap chain and attach it to the existing device with IDXGIFactory::CreateSwapChain.  (The IDXGIFactory is a separate COM object that needs to be created with CreateDXGIFactory first.)

DirectX11 without window attached?
imagine you want to use "should have done" in a subordinate clause when there's some past tense in the main clause.

e.g.: "He said I should have(had?) done it."

which one is correct? 
or should i use some other modal verb for this purpose?
thanks
