Hi,
I have this d3d9 app in which I need to record a specific swap chain (index 1).
when calling IBandiCapture::Start with the pointer of the swap chain (and BCAP_MODE_D3D9_SWAPCHAIN) it returns 0.
The following IBandiCapture::work fails with return code BCERR_FILE_WRITE=87771014.
I tried going back to more basic. Using another app with only one (default) swap chain which I was able to record by using BCAP_MODE_D3D9 and a pointer to IDirect3DDevice9. Changing the start call to BCAP_MODE_D3D9_SWAPCHAIN and the pointer of the default swap chain was BC_OK_ONLY_VIDEO. However, the following call to work (with that same pointer), generated an error BCERR_VIDEO_CAPTURE=87771011.
In all the above case, I call the start and work, just before the first present (IDirect3DSwapChain9::Present).
Long story short I am unable to use the BCAP_MODE_D3D9_SWAPCHAIN mode.
Thanks,
Hadar