switcherlib.dll Preview

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

Jens Walkowiak

  • Posts: 25
  • Joined: Thu Jan 03, 2013 4:52 pm

switcherlib.dll Preview

PostWed May 06, 2020 9:17 pm

Hello,
I try a program in c# using the switcherlib.dll.
I want to store the preview number and than set an new input for transition.

My code:
MixerEffect meinMixerEffekt = new MixerEffect();

long previewnumber = meinMixerEffekt.Preview;
but
the error is: System.NullReferenceException

Where is my mistake?

Thank you
Jens
Offline

Ian Morrish

  • Posts: 447
  • Joined: Sun Jan 18, 2015 9:24 pm
  • Location: New Zealand

Re: switcherlib.dll Preview

PostSat May 09, 2020 6:58 am

Where did you get switcherlib.dll from?

Sent from my SM-G960F using Tapatalk
Regards,
Ian Morrish
Video Integrated Scripting Environment
(Windows PowerShell with ATEM driver + more)
https://ianmorrish.wordpress.com
Offline

Jens Walkowiak

  • Posts: 25
  • Joined: Thu Jan 03, 2013 4:52 pm

Re: switcherlib.dll Preview

PostSun May 10, 2020 4:08 pm

Hello Ian,

it´s the version 7.3.6.0 by Morrsoft (yours).

Other things like dsk, inputs, mediaplayer, aux etc work correctly.
I think preview is a member of MixerEffect. (SwitcherLib.MixerEffect.Preview) or is it the false class?

Thanks Jens
Offline

Ian Morrish

  • Posts: 447
  • Joined: Sun Jan 18, 2015 9:24 pm
  • Location: New Zealand

Re: switcherlib.dll Preview

PostSat May 16, 2020 6:37 pm

Hi, bmd intruduced some new input types for the mini which breaks my code (my fault for the way I was detecting the input type).
There is a new version of switcher lib (and some of my apps that use it).
https://onedrive.live.com/?authkey=%21A ... 29C3A8A991

Sent from my SM-G960F using Tapatalk
Regards,
Ian Morrish
Video Integrated Scripting Environment
(Windows PowerShell with ATEM driver + more)
https://ianmorrish.wordpress.com
Offline

Jens Walkowiak

  • Posts: 25
  • Joined: Thu Jan 03, 2013 4:52 pm

Re: switcherlib.dll Preview

PostMon May 25, 2020 9:11 pm

Thank you!

Jens

Return to Software Developers

Who is online

Users browsing this forum: No registered users and 2 guests