Visual studio 17 lnk1112 error module machine type 'arm' conflicts with target machine type 'x64'2/11/2024 ![]() HRESULT hr = AtlUnadvise( SourceObject 2, _uuidof( EventInterface ), m_dwCookie ) HRESULT hr = AtlAdvise(SourceObject 1, piUnknown, _uuidof( EventInterface), &m_dwCookie) I have multiple sink objects(for example 1,2,3,4,5) who listens for the events sent from one event interface, using particular source object.Ĭonsider below sink object implementation to advise and unadvise for the events : Please consider this query related to ATL and correct me if there is any gap in my understanding. Is it that Desktop Duplication API work only with Default Graphics Adapter on system? Why desktop duplication app is giving error of 'UNSUPPORTED' with NVIDIA card?Ģ. I came to know from the specs of NIVIDA GeForce 820M card, and by running dxdiag on my machine, that NIVIDIA card supports Directx11.2 and Feature level 11_0.ġ. I believe in this way, it is taking NVIDIA as default card. ![]() But if I run this App with explicitly specifying NVIDIA card (by rightĬlick on App and selecting Run with Graphics Processor-> NVIDIA processor) then this sample application is failing with error code 0x887A0004 (DXGI_ERROR_UNSUPPORTED). When I run the sample code of desktop duplication it runs using Intel card by default and works fine. Intel card is default card on this machine. NVIDIA GeForce 820M (driver version 10.). Intel HD Graphics Family (driver version 10.)Ģ. I have a Windows10 machine which has two graphics card installed.ġ.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |