Trying to create a Windows screen capture app that uses DXGI to grab the screen and Codec SDK V9.0 to encode as H264. Problem I am seeing is that if I even link CUDA LIB into my app without even making any calls then DXGI setup fails. Specifically I get error 0x887a0004 from
hr = DxgiOutput1->DuplicateOutput(m_Device, &m_DeskDupl);
Anybody have any idea whats going on and if there is a workaround?