Third party sdk dll works with WPF but not UWP

0

I have a third party sdk provided as .dll and tlb. It works fine with WPF, but when I add it to UWP project, once I reach the screen that uses the sdk it throws

instance of the COM component with CLSID {DBA84AA0-3342-4AF0-96ED-3D8D08D544F3} using CoCreateInstanceFromApp failed due to the following error: 80040154 Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG)). Please make sure your COM object is in the allowed list of CoCreateInstanceFromApp

Is there anyway to make the .dll or tbl, work with the UWP app I am developing. I have both x64 and x86 versions of the .dll.

c#
uwp
asked on Stack Overflow Mar 22, 2019 by Mo Adel • edited Mar 22, 2019 by Daniel A. White

1 Answer

2

It appears that the third party SDK that you're using doesn't support UWP. WPF and UWP use very different APIs.

You will have to request them to update their libraries and distribute those to you.

answered on Stack Overflow Mar 23, 2019 by James Croft

User contributions licensed under CC BY-SA 3.0