Referencing DeckLinkAPI

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

jgarza

  • Posts: 1
  • Joined: Wed Apr 07, 2021 1:57 pm
  • Real Name: Jacob Garza

Referencing DeckLinkAPI

PostWed Apr 07, 2021 2:27 pm

Hello all!

I know that this is probably a question that is answered elsewhere and probably something that I missed during installation, however I am unable to build a C# project that is located at
Code: Select all
Blackmagic DeckLink SDK 12.0\Win\Samples\CapturePreviewCSharp
I am getting the errors attached. I am assuming that this is due to the DeckLinkAPI not being added as a reference properly to my project, and would like instruction on how to do this. I would appreciate any advice or assistance.
deck link api errors.png
deck link api errors.png (118.31 KiB) Viewed 98 times
Offline

Cameron Nichols

Blackmagic Design

  • Posts: 337
  • Joined: Mon Sep 04, 2017 4:05 am

Re: Referencing DeckLinkAPI

PostFri Apr 09, 2021 3:33 am

Hi Jacob,

Please check the following:
  1. That you have installed Desktop Video 12.0 software. By installing the software, the DeckLinkAPI COM types and interfaces will have been registered.
  2. In Visual Studio, right click the project and select Add --> Reference... In Reference Manager dialog, select COM then add "DeckLink API Library".
Regards
Cameron

Return to Software Developers

Who is online

Users browsing this forum: No registered users and 2 guests