DeckLinkIterator instantiation issue

Ask software engineering and SDK questions for developers working on Mac OS X, Windows or Linux.
  • Author
  • Message
Offline

Anil Dora

  • Posts: 7
  • Joined: Fri Jun 26, 2015 9:42 am

DeckLinkIterator instantiation issue

PostMon Jun 29, 2015 4:27 am

Hi,

I got the SDK of Decklink and trying to instantiate the interface through the CDeckLinkIterator class in my C# project SignalGenCSharp and getting the CLSID exception at runtime.

To resolve the issue I tried add the DLL to register by executing "Regserv32" command in CMD, but getting a "Not Proper DLL" error.

please help me regarding this.

Thanks,
Anil
Offline

Anil Dora

  • Posts: 7
  • Joined: Fri Jun 26, 2015 9:42 am

Re: DeckLinkIterator instantiation issue

PostTue Jun 30, 2015 5:01 am

I found the way to resolve the issue.

Step 1:
Instead of creating the DLL out of the IDL file please find the DecklinkAPI dll from the installed path of Decklink software in your system.

You will get DLLs for 32 and 64 bit OS.

Step 2:
Register the DLL(according to your OS bit) to your registry using regsvr32.exe as it is a COM.

Step 3:
Then add the reference from COM to your C# project and then press F5(build+run) in visual studio.It will run without any exception.


Thanks,
Anil

Return to Software Developers

Who is online

Users browsing this forum: No registered users and 28 guests