Page 1 of 1

Referencing DeckLinkAPI

PostPosted: Wed Apr 07, 2021 2:27 pm
by jgarza
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 1331 times

Re: Referencing DeckLinkAPI

PostPosted: Fri Apr 09, 2021 3:33 am
by Cameron Nichols
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