I'll recheck the D3D10 one
-spazzarama
Working fine here, my creation code for D3D10 looks like this:
using (SlimDX.Direct3D10.Device device = new Device(factory.GetAdapter(0), DriverType.Hardware, DeviceCreationFlags.None))
{
this.DebugMessage("Hook: Device created");
_d3d10VTblAddresses.AddRange(GetVTblAddresses(device.ComPointer, D3D10_DEVICE_METHOD_COUNT));
using (SlimDX.Windows.RenderForm renderForm = new SlimDX.Windows.RenderForm())
{
using (SlimDX.DXGI.SwapChain sc = new SlimDX.DXGI.SwapChain(factory, device, DXGI.CreateSwapChainDescription(renderForm.Handle)))
{
_dxgiSwapChainVTblAddresses.AddRange(GetVTblAddresses(sc.ComPointer, DXGI.DXGI_SWAPCHAIN_METHOD_COUNT));
}
}
}
I'm not sure if you are using the TestScreenshot or not, or whether you are logging the debug messages, but do you see the debug message: "1612:DXHookD3D10: Hook: Device created" ?
Cheers,
J