I am trying to use and reference a 3rd party SDK. I don't have DMA installed locally but I am publishing to DMA using DIS.
I have added the path to my DDL folder in the DIS as well
What am I missing?
Hi Arbab,
Can you try whether creating an Interop assembly from that Blackmagic design switchers assembly works?
For this, you can use the Type Library Importer tool (TlbImp.exe) as follows (run as administrator):
"C:\Path\To\BMDSwitcherAPI.dll" /out:Interop.BMDSwitcherAPI.dll
Once the interop assembly is created, reference it in your connector solution (and update any namespace references if needed (e.g. BMDSwitcherAPI -> Interop.BMDSwitcherAPI)).
I tried but I guess I am missing something here. The output file is reduced to 111KB instead of original 8604 KB.
Also now I am getting following message:
2025/10/22 08:55:47.978|SLManagedScripting.exe|ManagedInterop|CRU|-1|13188|167|9000 started
2025/10/22 08:55:47.979|SLManagedScripting.exe|ManagedInterop|CRU|-1|13188|167|Exception in 9000: Retrieving the COM class factory for component with CLSID {BA726CE9-B8F5-4B1B-AA00-1A2DF3998B45} failed due to the following error: 80040154 Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG)).
2025/10/22 08:55:47.979|SLManagedScripting.exe|ManagedInterop|CRU|-1|13188|167|StackTrace in 9000: at QAction.Run(SLProtocol protocol)
2025/10/22 08:55:47.979|SLManagedScripting.exe|ManagedInterop|ERR|0|13188|167|QA9000|9000|Run|Exception thrown:
System.Runtime.InteropServices.COMException (0x80040154): Retrieving the COM class factory for component with CLSID {BA726CE9-B8F5-4B1B-AA00-1A2DF3998B45} failed due to the following error: 80040154 Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG)).
at QAction.Run(SLProtocol protocol)