First call into a new class succeeds, second call into a NEW class fails using the same HWND.
However, I'm unable to create a new window handle as a work around (CCTV switching in a single HWND).
The error is 'CreateSwapChainForHwnd returns E_ACCESSDENIED' on a second Class and Call using the same window handle.
A believe a DirectX resource / object has not been properly freed.
And have subsequently called both:
in the Close() function as recommended by Microsoft to no affect, similar to the stackoverflow thread above.
Next I tried the 'Graphics Debugging' console tool in Visual Studio to see what, if any objects are left open agianst the HWND.
However when debugging using the 'Graphics Debugging' tool, it does not like the assignments: