Not sure why this is, but it appears to be due to the use of the
COMOBJECT_CUSTOM macro instead of the COMOBJECT macro to define the standard
com object methods.
This problem was encountered when trying to retrieve the factory for an already
created device. eg
DXGIDevice = new SlimDX.DXGI.Device1(Device);
DXGIAdapator = DXGIDevice.GetParent<Adapter1>();
Factory = DXGIAdapator.GetParent<Factory1>();
The easy workaround is to just query for Factory instead...
Original issue reported on code.google.com by dbl...@fastmail.fm on 27 May 2011 at 4:18
Original issue reported on code.google.com by
dbl...@fastmail.fm
on 27 May 2011 at 4:18